summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-08-21 13:13:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-08-21 13:13:17 +0000
commit208bc533cd18dbb2bfccea9779c515286d80e7c1 (patch)
tree4dcdc4c8d7e81114d4854f397c1d40ee539c30ca /llvm/tools
parentfbe17d6a326affd6fb8c3990ece22bfd82afd1f4 (diff)
downloadbcm5719-llvm-208bc533cd18dbb2bfccea9779c515286d80e7c1.tar.gz
bcm5719-llvm-208bc533cd18dbb2bfccea9779c515286d80e7c1.zip
Move DisableGVNLoadPRE from populateLTOPassManager to PassManagerBuilder.
llvm-svn: 216174
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/bugpoint/bugpoint.cpp2
-rw-r--r--llvm/tools/opt/opt.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp
index cbecc359970..8a0d7aa4afb 100644
--- a/llvm/tools/bugpoint/bugpoint.cpp
+++ b/llvm/tools/bugpoint/bugpoint.cpp
@@ -179,7 +179,7 @@ int main(int argc, char **argv) {
if (StandardLinkOpts) {
PassManagerBuilder Builder;
- Builder.populateLTOPassManager(PM, /*RunInliner=*/true, false);
+ Builder.populateLTOPassManager(PM, /*RunInliner=*/true);
}
if (OptLevelO1 || OptLevelO2 || OptLevelO3) {
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 1ff795d67d2..538c18cc488 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -267,7 +267,7 @@ static void AddStandardLinkPasses(PassManagerBase &PM) {
if (DisableOptimizations) return;
PassManagerBuilder Builder;
- Builder.populateLTOPassManager(PM, /*RunInliner=*/!DisableInline, false);
+ Builder.populateLTOPassManager(PM, /*RunInliner=*/!DisableInline);
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud