[Mlir-commits] [mlir] [mlir][affine] Add fold logic when the affine.yield has IV as operand in the AffineForEmptyLoopFolder (PR #165639)

lonely eagle llvmlistbot at llvm.org
Wed Oct 29 18:55:08 PDT 2025


linuxlonelyeagle wrote:

The type of replacements is now SmallVector<OpFoldResult>. To be honest, I'm not sure if this fixes the issue.
```
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/lib/Dialect/Affine/IR/AffineOps.cpp:2678:10: error: could not convert ‘replacements’ from ‘SmallVector<[...],4>’ to ‘SmallVector<[...],6>’
 2678 |   return replacements;
      |          ^~~~~~~~~~~~
      |          |
      |          SmallVector<[...],4>
```

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


More information about the Mlir-commits mailing list