[llvm] [X86] Fix decoding for vinsertps immediate operand (PR #117009)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 09:28:18 PST 2024


================
@@ -5362,7 +5362,7 @@ static bool getTargetShuffleMask(SDValue N, bool AllowSentinelZero,
     assert(N.getOperand(0).getValueType() == VT && "Unexpected value type");
     assert(N.getOperand(1).getValueType() == VT && "Unexpected value type");
     ImmN = N.getConstantOperandVal(N.getNumOperands() - 1);
-    DecodeINSERTPSMask(ImmN, Mask);
+    DecodeINSERTPSMask(ImmN, Mask, false);
----------------
RKSimon wrote:

`/*SrcIsMem=*/false`

https://github.com/llvm/llvm-project/pull/117009


More information about the llvm-commits mailing list