LuoYuanke added inline comments.
================ Comment at: clang/lib/CodeGen/CGBuiltin.cpp:5413-5415 + if (PTy->isX86_AMXTy()) + ArgValue = Builder.CreateIntrinsic(Intrinsic::x86_cast_vector_to_tile, + {ArgValue->getType()}, {ArgValue}); ---------------- xiangzhangllvm wrote: > Can we fold it in CreateBitCast(ArgValue, PTy) function ? I don't think so. We have amx specific cast to avoid some unexpected optimization for bitcast. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122567/new/ https://reviews.llvm.org/D122567 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits