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 f500481 commit 4589f8dCopy full SHA for 4589f8d
visa/ifcvt.cpp
@@ -472,6 +472,11 @@ void IfConverter::analyze(std::vector<IfConvertible> &list) {
472
continue;
473
}
474
475
+ if (t && (t->isEndWithCall() || (t->getLastOpcode() == G4_return)))
476
+ {
477
+ continue;
478
+ }
479
+
480
G4_Predicate *pred = ifInst->getPredicate();
481
482
unsigned n0 = getPredictableInsts(s0, ifInst);
0 commit comments