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

Vivek Khandelwal llvmlistbot at llvm.org
Thu Oct 24 05:50:20 PDT 2024


vivekkhandelwal1 wrote:

> Do we want to add a test case for this? Maybe something like `func @chained_wrong_tensor_cast_avoid_crash`.

I did try to add that, but as I mentioned in the commit that such a case would be cast incompatible, hence it fails during the verify stage itself, it didn't even go into that code.

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


More information about the Mlir-commits mailing list