[Mlir-commits] [mlir] [MLIR][Affine] Allow integer constant operands in affine symbol pure-op check (PR #188778)
Mehdi Amini
llvmlistbot at llvm.org
Wed Apr 1 02:00:12 PDT 2026
joker-eph wrote:
> The bigger question is why limit to index, and now integer, types in the first place. For example, index_cast(fptosi(0.0)) will still be rejected.
Good point, I didn't think of that. I rewrote it to accept any "constant op" as root of a chain of pure ops now and added a test with fptosi feeding an add used as a bound of a affine.for loop.
https://github.com/llvm/llvm-project/pull/188778
More information about the Mlir-commits
mailing list