Skip to content

Commit 714885d

Browse files
jack-jiang1111igcbot
authored andcommitted
Changes in code.
1 parent 24defd4 commit 714885d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/common/LLVMUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ void IGCPassManager::addPrintPass(Pass* P, bool isBefore)
710710
{
711711
// Skip adding a printer pass for analysis passes.
712712
const PassInfo *PI = Pass::lookupPassInfo(P->getPassID());
713-
if (!PI || PI->isAnalysis())
713+
if (PI && PI->isAnalysis())
714714
return;
715715

716716
std::string passName =

0 commit comments

Comments
 (0)