Skip to content

Commit 835c042

Browse files
committed
address comment
1 parent 87641f5 commit 835c042

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9802,6 +9802,7 @@ SDValue PPCTargetLowering::LowerBUILD_VECTOR(SDValue Op,
98029802
dl);
98039803

98049804
// If the sign extended value is in the range [-16,15], use VSPLTI[bhw].
9805+
// Use VSPLTIW/VUPKLSW for v2i64 in range [-16,15].
98059806
if (SextVal >= -16 && SextVal <= 15) {
98069807
unsigned UseSize = SplatSize == 8 ? 4 : SplatSize;
98079808
SDValue Res =

0 commit comments

Comments
 (0)