[Mlir-commits] [mlir] [mlir] Handle arith.const expr in dispatchIndexOpFoldResult func (PR #122432)

Matthias Springer llvmlistbot at llvm.org
Tue Jan 14 05:38:49 PST 2025


matthias-springer wrote:

@rutkoor Can you post the C++ code that builds the `tensor.expand_shape` op? I suspect that something is wrong there.

As the name suggests, `dispatchIndexOpFoldResult` should just dispatch based on the type of the `OpFoldResult`. I.e., it's just a switch-case statement and not meant to look at the IR that it's operating on.


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


More information about the Mlir-commits mailing list