[Mlir-commits] [mlir] [mlir][loops] Add getters for multi dim loop variables in `LoopLikeOpInterface` (PR #94516)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jun 5 13:35:02 PDT 2024


srcarroll wrote:

> Can you explain a little bit as to why the semantics are not quite right?
Its supposed  to return mixed values, but here i'm only returning a non empty vector if the result is a constant. i did this to keep the same semantics for the older interface methods on the `affine::ForOp`.  but really it should return any OpFoldResult. atm this doesn't affect anything because this op doesn't use the new methods anyway



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


More information about the Mlir-commits mailing list