[Mlir-commits] [mlir] [MLIR][Tensor] Fix Chained tensor.cast canonicalization pattern (PR #113551)

Vivek Khandelwal llvmlistbot at llvm.org
Fri Nov 15 02:36:03 PST 2024


vivekkhandelwal1 wrote:

> @vivekkhandelwal1 your change itself makes sense to me, but can you just post the IR snippet that cause you to hit this. The verifier issue seems to be a red herring.

Hi @MaheshRavishankar, I have a repro for this issue from IREE since I was debugging the issue originally there. To repro the issue just run the below command over the following IR: https://gist.github.com/vivekkhandelwal1/c587a207562fe3daa5a79b1526362db4

```
iree-opt  --iree-util-fold-globals repro_ir.mlir
```

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


More information about the Mlir-commits mailing list