[llvm] [AutoUpgrade] Handle invalid x86 intrinsics (PR #179374)
Stefan Weigl-Bosker via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 3 08:21:55 PST 2026
================
@@ -3631,6 +3633,9 @@ static Value *upgradeX86IntrinsicCall(StringRef Name, CallBase *CI, Function *F,
unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
unsigned NumElts = cast<FixedVectorType>(CI->getType())->getNumElements();
+ if (Name == "sse2.pshufl.w" && NumElts % 8 != 0)
----------------
sweiglbosker wrote:
Are you testing godbolt or your branch? Because some might already be handled by this pr.
https://github.com/llvm/llvm-project/pull/179374
More information about the llvm-commits
mailing list