[Mlir-commits] [mlir] [mlir][SCFToGPU] Fix crash when converting affine.for with iter_args to GPU (PR #185073)

Mehdi Amini llvmlistbot at llvm.org
Fri Mar 6 10:11:26 PST 2026


================
@@ -184,6 +184,12 @@ AffineLoopToGpuConverter::collectBounds(AffineForOp forOp, unsigned numLoops) {
   steps.reserve(numLoops);
   AffineForOp currentLoop = forOp;
----------------
joker-eph wrote:

I'm not sure why AffineForOp is handled in "SCFToGPU"? But that's for another day...

https://github.com/llvm/llvm-project/pull/185073


More information about the Mlir-commits mailing list