1
0
Fork 0

that was in there twice, DEBUG>=4 to see loop opt

pull/409/head
George Hotz 2022-10-30 15:31:39 -07:00
parent cfdf803b52
commit 8c849e637c
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,8 @@ class LLVM:
LLVM.target_machine = target.create_target_machine(opt=3) # this opt actually can change things
LLVM.target_machine.add_analysis_passes(LLVM.optimizer)
#llvm.set_option('', '--debug-only=loop-vectorize')
if DEBUG >= 4:
llvm.set_option('', '--debug-only=loop-vectorize')
# does this do anything?
builder = llvm.create_pass_manager_builder()
@ -137,7 +138,6 @@ class LLVM:
builder.slp_vectorize = 1
builder.populate(LLVM.optimizer)
LLVM.target_machine.add_analysis_passes(LLVM.optimizer)
LLVM.target_machine.set_asm_verbosity(True)
backing_mod = llvm.parse_assembly("")
backing_mod.triple = llvm.get_process_triple()