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

Jianjian Guan llvmlistbot at llvm.org
Mon Jan 6 22:21:03 PST 2025


jacquesguan 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

Done, also add signed and unsigned integer.

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


More information about the Mlir-commits mailing list