diff options
author | Meador Inge <meadori@codesourcery.com> | 2013-06-20 19:47:18 +0000 |
---|---|---|
committer | Meador Inge <meadori@codesourcery.com> | 2013-06-20 19:47:18 +0000 |
commit | f081d02586a0524994a72799c2084ec350392fd5 (patch) | |
tree | 58ac53a891e5cb4ef169aa119b5061c01172062e /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 08a75aef3ff234f4b7596c667797724d9f18d0f9 (diff) | |
download | bcm5719-llvm-f081d02586a0524994a72799c2084ec350392fd5.tar.gz bcm5719-llvm-f081d02586a0524994a72799c2084ec350392fd5.zip |
CodeGen: Don't set 'PMBuilder.DisableSimplifyLibCalls'
The simplify-libcalls pass has been removed from LLVM. Thus
'PMBuilder.DisableSimplifyLibCalls' does not exist anymore.
The disabling/enabling of library call simplifications is
done through the TargetLibraryInfo which is already wired
up in Clang.
llvm-svn: 184458
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 45079c09898..e173aa9314a 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -221,7 +221,6 @@ void EmitAssemblyHelper::CreatePasses(TargetMachine *TM) { PMBuilder.OptLevel = OptLevel; PMBuilder.SizeLevel = CodeGenOpts.OptimizeSize; - PMBuilder.DisableSimplifyLibCalls = !CodeGenOpts.SimplifyLibCalls; PMBuilder.DisableUnitAtATime = !CodeGenOpts.UnitAtATime; PMBuilder.DisableUnrollLoops = !CodeGenOpts.UnrollLoops; |