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 d7a532f commit c58bb60Copy full SHA for c58bb60
llvm/lib/Transforms/Utils/IRNormalizer.cpp
@@ -470,7 +470,8 @@ void IRNormalizer::reorderInstructions(Function &F) const {
470
auto *Instruction = TopologicalSort.top();
471
auto FirstNonPHIOrDbgOrAlloca = BB.getFirstNonPHIOrDbgOrAlloca();
472
if (auto *Call = dyn_cast<CallInst>(&*FirstNonPHIOrDbgOrAlloca)) {
473
- if (Call->getIntrinsicID() == Intrinsic::experimental_convergence_entry ||
+ if (Call->getIntrinsicID() ==
474
+ Intrinsic::experimental_convergence_entry ||
475
Call->getIntrinsicID() == Intrinsic::experimental_convergence_loop)
476
FirstNonPHIOrDbgOrAlloca++;
477
}
0 commit comments