Skip to content

Commit 02345ed

Browse files
author
Leon Clark
committed
Address comments.
1 parent 16fe22d commit 02345ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8813,8 +8813,8 @@ static SDValue lowerBuildVectorAsBlend(BuildVectorSDNode *BVOp, SDLoc const &DL,
88138813
UniqueOps.erase(Op0);
88148814
SDValue Op1 = *UniqueOps.begin();
88158815

8816-
if (isShuffleFoldableLoad(Op0) || isShuffleFoldableLoad(Op1) ||
8817-
Subtarget.hasAVX2()) {
8816+
if (Subtarget.hasAVX2() || isShuffleFoldableLoad(Op0) ||
8817+
isShuffleFoldableLoad(Op1)) {
88188818
// Create shuffle mask.
88198819
auto const NumElems = VT.getVectorNumElements();
88208820
SmallVector<int, 16u> Mask(NumElems);

0 commit comments

Comments
 (0)