projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ab86e
)
Update the assertion to meet with the changes in r309121. (NFC)
author
Dehao Chen
<dehao@google.com>
Wed, 26 Jul 2017 15:47:00 +0000
(15:47 +0000)
committer
Dehao Chen
<dehao@google.com>
Wed, 26 Jul 2017 15:47:00 +0000
(15:47 +0000)
llvm-svn: 309125
llvm/lib/Passes/PassBuilder.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Passes/PassBuilder.cpp
b/llvm/lib/Passes/PassBuilder.cpp
index
20fc475
..
aeddfea
100644
(file)
--- a/
llvm/lib/Passes/PassBuilder.cpp
+++ b/
llvm/lib/Passes/PassBuilder.cpp
@@
-575,7
+575,7
@@
PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
// Add all the requested passes for PGO, if requested.
if (PGOOpt) {
assert(PGOOpt->RunProfileGen || !PGOOpt->SampleProfileFile.empty() ||
- !PGOOpt->ProfileUseFile.empty());
+ !PGOOpt->ProfileUseFile.empty()
|| PGOOpt->SamplePGOSupport
);
if (PGOOpt->SampleProfileFile.empty())
addPGOInstrPasses(MPM, DebugLogging, Level, PGOOpt->RunProfileGen,
PGOOpt->ProfileGenFile, PGOOpt->ProfileUseFile);