summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-08-03 03:26:09 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-08-03 03:26:09 +0000
commit4c3e3bf9fb1bb897b1c21472aa544a7ddd4af292 (patch)
treebafd8330049ba2b1ca31abe5f54ff96fae7926f7 /llvm
parent6cb2ab2c60900b90e3add1de81feac38327fba6d (diff)
downloadbcm5719-llvm-4c3e3bf9fb1bb897b1c21472aa544a7ddd4af292.tar.gz
bcm5719-llvm-4c3e3bf9fb1bb897b1c21472aa544a7ddd4af292.zip
[PM] Remove the NDEBUG condition around isModulePassName.
I forgot to do this initially, and added when I saw this fail in a no-asserts build, but managed to loose the diff from the actual patch that got submitted. Very sorry. llvm-svn: 277562
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Passes/PassBuilder.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp
index 3bdbb199779..4dae8748ffd 100644
--- a/llvm/lib/Passes/PassBuilder.cpp
+++ b/llvm/lib/Passes/PassBuilder.cpp
@@ -274,7 +274,6 @@ void PassBuilder::addLTODefaultPipeline(ModulePassManager &MPM,
MPM.addPass(createModuleToFunctionPassAdaptor(std::move(LateFPM)));
}
-#ifndef NDEBUG
static bool isModulePassName(StringRef Name) {
// Manually handle aliases for pre-configured pipeline fragments.
if (Name.startswith("default") || Name.startswith("lto"))
@@ -298,7 +297,6 @@ static bool isModulePassName(StringRef Name) {
return false;
}
-#endif
static bool isCGSCCPassName(StringRef Name) {
// Explicitly handle pass manager names.
OpenPOWER on IntegriCloud