From 3c966fd688c1b8eb846fd8675275c33a08786b07 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Wed, 25 Sep 2019 11:48:04 +0100 Subject: aco,radv: rename record_llvm_ir/llvm_ir_string to record_ir/ir_string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Reviewed-by: Bas Nieuwenhuizen --- src/amd/compiler/aco_interface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/amd/compiler/aco_interface.cpp') diff --git a/src/amd/compiler/aco_interface.cpp b/src/amd/compiler/aco_interface.cpp index 2a1986357ca..79dd33385dc 100644 --- a/src/amd/compiler/aco_interface.cpp +++ b/src/amd/compiler/aco_interface.cpp @@ -96,7 +96,7 @@ void aco_compile_shader(unsigned shader_count, aco::schedule_program(program.get(), live_vars); std::string llvm_ir; - if (options->record_llvm_ir) { + if (options->record_ir) { char *data = NULL; size_t size = 0; FILE *f = open_memstream(&data, &size); @@ -140,7 +140,7 @@ void aco_compile_shader(unsigned shader_count, std::vector code; unsigned exec_size = aco::emit_program(program.get(), code); - bool get_disasm = options->dump_shader || options->record_llvm_ir; + bool get_disasm = options->dump_shader || options->record_ir; size_t size = llvm_ir.size(); @@ -167,7 +167,7 @@ void aco_compile_shader(unsigned shader_count, legacy_binary->config = config; legacy_binary->disasm_size = 0; - legacy_binary->llvm_ir_size = llvm_ir.size(); + legacy_binary->ir_size = llvm_ir.size(); llvm_ir.copy((char*) legacy_binary->data + legacy_binary->code_size, llvm_ir.size()); -- cgit v1.2.3