Fix pass creation typo
This commit is contained in:
parent
d694e283b3
commit
a5b87d71e0
|
@ -118,7 +118,7 @@ pub fn populatePassManager(pm: &mut PassManager, level:session::OptLevel) {
|
|||
pm.addPass(llvm::LLVMCreateLoopDeletionPass());
|
||||
|
||||
if level == session::Aggressive {
|
||||
pm.addPass(llvm::LLVMCreateLoopUnrollPass());
|
||||
pm.addPass(llvm::LLVMCreateLoopVectorizePass());
|
||||
}
|
||||
pm.addPass(llvm::LLVMCreateLoopUnrollPass());
|
||||
|
||||
|
|
Loading…
Reference in New Issue