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 e793c80 commit 33061e4Copy full SHA for 33061e4
mlir/lib/Dialect/SCF/IR/SCF.cpp
@@ -315,7 +315,7 @@ struct ExecuteRegionForwardingEliminator
315
if (yieldOps.size() != 1)
316
return failure();
317
318
- auto yieldOp = dyn_cast<scf::YieldOp>(yieldOps.front());
+ auto yieldOp = cast<scf::YieldOp>(yieldOps.front());
319
auto yieldedValues = yieldOp.getOperands();
320
// Check if all yielded values are from outside the region
321
bool allExternal = true;
0 commit comments