Skip to content

Commit

Permalink
move to default codegen opt
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewZhaoLuo committed Oct 11, 2021
1 parent 444e51a commit 6938d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/llvm/llvm_common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ std::unique_ptr<llvm::TargetMachine> GetLLVMTargetMachine(const Target& target,
return nullptr;
}
llvm::TargetMachine* tm = llvm_target->createTargetMachine(
target_triple, mcpu, mattr, opt, llvm::Reloc::PIC_, llvm::None, llvm::CodeGenOpt::Aggressive);
target_triple, mcpu, mattr, opt, llvm::Reloc::PIC_, llvm::None, llvm::CodeGenOpt::Default);
return std::unique_ptr<llvm::TargetMachine>(tm);
}

Expand Down

0 comments on commit 6938d70

Please sign in to comment.