diff options
| author | Dehao Chen <dehao@google.com> | 2017-07-26 15:47:00 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2017-07-26 15:47:00 +0000 |
| commit | 641f387cd0ee0458a005b239d494c6d9e0490658 (patch) | |
| tree | 7ef47e996510fb70cc3217213b6698fcc00383f7 | |
| parent | 01ab86e62b4fcb63f7c099a0977e400c030c32eb (diff) | |
| download | bcm5719-llvm-641f387cd0ee0458a005b239d494c6d9e0490658.tar.gz bcm5719-llvm-641f387cd0ee0458a005b239d494c6d9e0490658.zip | |
Update the assertion to meet with the changes in r309121. (NFC)
llvm-svn: 309125
| -rw-r--r-- | llvm/lib/Passes/PassBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp index 20fc475305a..aeddfeaca75 100644 --- 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); |

