summaryrefslogtreecommitdiffstats
path: root/compiler/llvm
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-08-09 02:14:36 -0700
committerBrian Carlstrom <bdc@google.com>2013-11-25 14:50:29 -0800
commit73fbaadee029f310362c9d83a52177f00f2e5d77 (patch)
tree0dd92bf835e6a7bb610b5096249eb6e772f9e1f3 /compiler/llvm
parent26c6dce526a90a7345600f5f82050a42740d12f8 (diff)
downloadart-73fbaadee029f310362c9d83a52177f00f2e5d77.tar.gz
art-73fbaadee029f310362c9d83a52177f00f2e5d77.tar.bz2
art-73fbaadee029f310362c9d83a52177f00f2e5d77.zip
Update ART for LLVM merge up to r187914.
Removed NoFramePointerElimNonLeaf because this is now only specified via a function attribute (and thus covered by existing cases). Switch to llvm::sys::fs::F_* enums. Remove unused DisableSimplifyLibCalls(). (cherry picked from commit 1961a2716cf02f597f06c27a0850daa2dc917586) Change-Id: Ic7b311b635483a44265c89d47f37f4202a5b18f7
Diffstat (limited to 'compiler/llvm')
-rw-r--r--compiler/llvm/llvm_compilation_unit.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/llvm/llvm_compilation_unit.cc b/compiler/llvm/llvm_compilation_unit.cc
index feb495e35f..038f5dc4eb 100644
--- a/compiler/llvm/llvm_compilation_unit.cc
+++ b/compiler/llvm/llvm_compilation_unit.cc
@@ -211,7 +211,6 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea
::llvm::TargetOptions target_options;
target_options.FloatABIType = ::llvm::FloatABI::Soft;
target_options.NoFramePointerElim = true;
- target_options.NoFramePointerElimNonLeaf = true;
target_options.UseSoftFloat = false;
target_options.EnableFastISel = false;
@@ -255,7 +254,7 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea
::llvm::OwningPtr< ::llvm::tool_output_file> out_file(
new ::llvm::tool_output_file(bitcode_filename_.c_str(), errmsg,
- ::llvm::raw_fd_ostream::F_Binary));
+ ::llvm::sys::fs::F_Binary));
if (!errmsg.empty()) {
@@ -275,7 +274,6 @@ bool LlvmCompilationUnit::MaterializeToRawOStream(::llvm::raw_ostream& out_strea
// pm_builder.Inliner = ::llvm::createAlwaysInlinerPass();
// pm_builder.Inliner = ::llvm::createPartialInliningPass();
pm_builder.OptLevel = 3;
- pm_builder.DisableSimplifyLibCalls = 1;
pm_builder.DisableUnitAtATime = 1;
pm_builder.populateFunctionPassManager(fpm);
pm_builder.populateModulePassManager(pm);