[Mlir-commits] [mlir] [MLIR] Fix SCF verifier crash (PR #153974)
Ivan Butygin
llvmlistbot at llvm.org
Sat Aug 16 12:03:05 PDT 2025
================
@@ -4237,13 +4237,15 @@ LogicalResult scf::IndexSwitchOp::verify() {
}
for (auto [idx, result, operand] :
llvm::zip(llvm::seq<unsigned>(0, getNumResults()), getResultTypes(),
----------------
Hardcode84 wrote:
nit: while we at here, can we replace `llvm::zip(llvm::seq<unsigned>(0, getNumResults()), getResultTypes(), yield.getOperands())` with `llvm::enumerate(getResultTypes(), yield.getOperands())`?
https://github.com/llvm/llvm-project/pull/153974
More information about the Mlir-commits
mailing list