Fix shifting limits and LLVM code gen bug relating to shifts

This commit is contained in:
gingerBill
2021-03-29 23:15:31 +01:00
parent 6fb0868517
commit 439e2c9242
3 changed files with 17 additions and 13 deletions
+2 -1
View File
@@ -8,8 +8,9 @@ void lb_populate_function_pass_manager(LLVMPassManagerRef fpm, bool ignore_memcp
}
LLVMAddPromoteMemoryToRegisterPass(fpm);
LLVMAddMergedLoadStoreMotionPass(fpm);
LLVMAddConstantPropagationPass(fpm);
LLVMAddEarlyCSEPass(fpm);
// LLVMAddEarlyCSEMemSSAPass(fpm);
LLVMAddConstantPropagationPass(fpm);
LLVMAddMergedLoadStoreMotionPass(fpm);
LLVMAddPromoteMemoryToRegisterPass(fpm);