================
@@ -219,6 +219,10 @@ bool BitcastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) {
if (!aT || !bT)
return false;
+ if (isa<IndexType>(aT.getElementType()) ||
----------------
jacquesguan wrote:
Removed
https://github.com/llvm/llvm-project/pull/121455