We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49d6d3 commit 1293477Copy full SHA for 1293477
llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -707,6 +707,10 @@ void TargetPassConfig::addPass(Pass *P) {
707
// and shouldn't reference it.
708
AnalysisID PassID = P->getPassID();
709
710
+ IdentifyingPassPtr TargetID = getPassSubstitution(PassID);
711
+ if (!overridePass(PassID, TargetID).isValid())
712
+ return;
713
+
714
if (StartBefore == PassID && StartBeforeCount++ == StartBeforeInstanceNum)
715
Started = true;
716
if (StopBefore == PassID && StopBeforeCount++ == StopBeforeInstanceNum)
0 commit comments