From: Peter Collingbourne Date: Fri, 18 Feb 2011 02:59:21 +0000 (+0000) Subject: Make -disable-simplify-libcalls work with -std-compile-opts X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=90d238ce8aa68c4ecb9a8d038ba09f263acf4305;p=oota-llvm.git 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 --- diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 64c08ab56af..0a945df7f7b 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); }