projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make -disable-simplify-libcalls work with -std-compile-opts
[oota-llvm.git]
/
tools
/
opt
/
opt.cpp
diff --git
a/tools/opt/opt.cpp
b/tools/opt/opt.cpp
index 64c08ab56af3b16e6efa5d7eff2f8e8df96a7958..0a945df7f7be1854c99f31dcd74aa16aa6d79f34 100644
(file)
--- 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);
}