diff options
| author | Qi Zhao <zhaoqi01@loongson.cn> | 2025-11-21 14:46:45 +0800 |
|---|---|---|
| committer | Qi Zhao <zhaoqi01@loongson.cn> | 2025-11-21 14:46:45 +0800 |
| commit | afb9692cc305964ac28484fbcc0919446ba0e65f (patch) | |
| tree | d41dfea2080af92f5727b866ced786c716489b11 | |
| parent | 332f98130369d1632c249572d8628df6db5b1294 (diff) | |
rebase after vshuf4i_d was definedusers/zhaoqi5/opt-xvshuf4id
| -rw-r--r-- | llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp b/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp index ed4f7a0fbb1e..fc9aec6d2171 100644 --- a/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp +++ b/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp @@ -2170,7 +2170,7 @@ lowerVECTOR_SHUFFLE_XVSHUF4I(const SDLoc &DL, ArrayRef<int> Mask, MVT VT, MaskImm |= ((MHi <= 3) ? (MHi - 2) : (MHi - 4)) & 0x3; } - return DAG.getNode(LoongArchISD::VSHUF4I, DL, VT, V1, V2, + return DAG.getNode(LoongArchISD::VSHUF4I_D, DL, VT, V1, V2, DAG.getConstant(MaskImm, DL, Subtarget.getGRLenVT())); } |
