[llvm] r345388 - [X86] Use existing pulled out VT variables. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 26 07:39:29 PDT 2018
Author: rksimon
Date: Fri Oct 26 07:39:28 2018
New Revision: 345388
URL: http://llvm.org/viewvc/llvm-project?rev=345388&view=rev
Log:
[X86] Use existing pulled out VT variables. NFCI.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=345388&r1=345387&r2=345388&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri Oct 26 07:39:28 2018
@@ -6530,8 +6530,8 @@ static bool getFauxShuffleMask(SDValue N
MVT SrcVT = Src.getSimpleValueType();
if (NumSizeInBits != SrcVT.getSizeInBits())
break;
- DecodeZeroExtendMask(SrcVT.getScalarSizeInBits(), VT.getScalarSizeInBits(),
- VT.getVectorNumElements(), Mask);
+ DecodeZeroExtendMask(SrcVT.getScalarSizeInBits(), NumBitsPerElt, NumElts,
+ Mask);
Ops.push_back(Src);
return true;
}
More information about the llvm-commits
mailing list