Skip to content

Commit 10e66f3

Browse files
author
Leon Clark
committed
Address comments.
1 parent 975f4d8 commit 10e66f3

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
@@ -8773,8 +8773,8 @@ static SDValue lowerBuildVectorAsBlend(BuildVectorSDNode *BVOp, SDLoc const &DL,
87738773
UniqueOps.erase(Op0);
87748774
SDValue Op1 = *UniqueOps.begin();
87758775

8776-
if (isShuffleFoldableLoad(Op0) || isShuffleFoldableLoad(Op1) ||
8777-
Subtarget.hasAVX2()) {
8776+
if (Subtarget.hasAVX2() || isShuffleFoldableLoad(Op0) ||
8777+
isShuffleFoldableLoad(Op1)) {
87788778
// Create shuffle mask.
87798779
auto const NumElems = VT.getVectorNumElements();
87808780
SmallVector<int, 16u> Mask(NumElems);

0 commit comments

Comments
 (0)