[Mlir-commits] [mlir] [mlir][arith][tensor] Disable index type for bitcast (PR #121455)

Longsheng Mou llvmlistbot at llvm.org
Sat Jan 4 00:12:55 PST 2025


CoTinker wrote:

And I think it's better to change the constraint of `tensor.bitcast` from `AnyTensor` to `TensorOf<[AnySignlessInteger, AnyFloat]>`
https://github.com/llvm/llvm-project/blob/aa0f3343a60c6132d9f6adfb8f62234a95519918/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td#L78-L79

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


More information about the Mlir-commits mailing list