[llvm] Implemented MVT::changeElementType based on EVT::changeElementType (PR #206783)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 3 02:17:57 PDT 2026
================
@@ -3380,7 +3380,7 @@ void X86TargetLowering::getTgtMemIntrinsic(
else if (IntrData->Type == TRUNCATE_TO_MEM_VI32)
ScalarVT = MVT::i32;
- Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements());
+ Info.memVT = VT.changeElementType(ScalarVT);
----------------
RKSimon wrote:
yes
https://github.com/llvm/llvm-project/pull/206783
More information about the llvm-commits
mailing list