diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-18 02:59:21 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-18 02:59:21 +0000 |
commit | 90d238ce8aa68c4ecb9a8d038ba09f263acf4305 (patch) | |
tree | 0b13401ce22b9785cf6f3f1a4da25f6dc0aafd27 /tools/opt/opt.cpp | |
parent | 5ad596f9d27a67767118857471e63b55bfb152d6 (diff) | |
download | external_llvm-90d238ce8aa68c4ecb9a8d038ba09f263acf4305.zip external_llvm-90d238ce8aa68c4ecb9a8d038ba09f263acf4305.tar.gz external_llvm-90d238ce8aa68c4ecb9a8d038ba09f263acf4305.tar.bz2 |
Make -disable-simplify-libcalls work with -std-compile-opts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 64c08ab..0a945df 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -427,7 +427,7 @@ void AddStandardCompilePasses(PassManagerBase &PM) { /*OptimizeSize=*/ false, /*UnitAtATime=*/ true, /*UnrollLoops=*/ true, - /*SimplifyLibCalls=*/ true, + !DisableSimplifyLibCalls, /*HaveExceptions=*/ true, InliningPass); } |