summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compilation_unit.cc
diff options
context:
space:
mode:
author Shih-wei Liao <sliao@google.com> 2012-06-03 14:06:04 -0700
committer Shih-wei Liao <sliao@google.com> 2012-06-03 14:08:37 -0700
commitdac5eb2dddf852818569bfc7ef2224146878c347 (patch)
tree1cc5de0481d7b2b236ddd8e41bb472c7bc2f88e4 /src/compiler_llvm/compilation_unit.cc
parente5fc334cbe894cb8ff575cf4ab72e20e486c303e (diff)
Optimization experiment.
Change-Id: I58f429554e6082e65324429267289b8a70a0193e
Diffstat (limited to 'src/compiler_llvm/compilation_unit.cc')
-rw-r--r--src/compiler_llvm/compilation_unit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler_llvm/compilation_unit.cc b/src/compiler_llvm/compilation_unit.cc
index 266377e3de..5f239ab245 100644
--- a/src/compiler_llvm/compilation_unit.cc
+++ b/src/compiler_llvm/compilation_unit.cc
@@ -295,7 +295,7 @@ bool CompilationUnit::MaterializeToFile(llvm::raw_ostream& out_stream) {
llvm::OwningPtr<llvm::TargetMachine> target_machine(
target->createTargetMachine(target_triple, "", target_attr, target_options,
llvm::Reloc::Static, llvm::CodeModel::Small,
- llvm::CodeGenOpt::Less));
+ llvm::CodeGenOpt::Aggressive));
CHECK(target_machine.get() != NULL) << "Failed to create target machine";