Skip to content

Commit 33061e4

Browse files
ddubov100joker-eph
andauthored
Update mlir/lib/Dialect/SCF/IR/SCF.cpp
Co-authored-by: Mehdi Amini <[email protected]>
1 parent e793c80 commit 33061e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SCF/IR/SCF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ struct ExecuteRegionForwardingEliminator
315315
if (yieldOps.size() != 1)
316316
return failure();
317317

318-
auto yieldOp = dyn_cast<scf::YieldOp>(yieldOps.front());
318+
auto yieldOp = cast<scf::YieldOp>(yieldOps.front());
319319
auto yieldedValues = yieldOp.getOperands();
320320
// Check if all yielded values are from outside the region
321321
bool allExternal = true;

0 commit comments

Comments
 (0)