[Mlir-commits] [mlir] [mlir][arith][tensor] Disable index type for bitcast (PR #121455)
Longsheng Mou
llvmlistbot at llvm.org
Tue Jan 7 17:20:43 PST 2025
================
@@ -219,6 +219,10 @@ bool BitcastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) {
if (!aT || !bT)
return false;
+ if (isa<IndexType>(aT.getElementType()) ||
----------------
CoTinker wrote:
I guess this is redundant.
https://github.com/llvm/llvm-project/pull/121455
More information about the Mlir-commits
mailing list