Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 9c17547

Browse files
committed
[X86] Minor formatting fixes. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251686 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e5920b3 commit 9c17547

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10732,16 +10732,15 @@ static SDValue lower256BitVectorShuffle(SDValue Op, SDValue V1, SDValue V2,
1073210732

1073310733
/// \brief Try to lower a vector shuffle as a 128-bit shuffles.
1073410734
static SDValue lowerV4X128VectorShuffle(SDLoc DL, MVT VT,
10735-
ArrayRef<int> Mask,
10736-
SDValue V1, SDValue V2,
10737-
SelectionDAG &DAG) {
10735+
ArrayRef<int> Mask,
10736+
SDValue V1, SDValue V2,
10737+
SelectionDAG &DAG) {
1073810738
assert(VT.getScalarSizeInBits() == 64 &&
1073910739
"Unexpected element type size for 128bit shuffle.");
1074010740

1074110741
// To handle 256 bit vector requires VLX and most probably
1074210742
// function lowerV2X128VectorShuffle() is better solution.
10743-
assert(VT.getSizeInBits() == 512 &&
10744-
"Unexpected vector size for 128bit shuffle.");
10743+
assert(VT.is512BitVector() && "Unexpected vector size for 128bit shuffle.");
1074510744

1074610745
SmallVector<int, 4> WidenedMask;
1074710746
if (!canWidenShuffleElements(Mask, WidenedMask))
@@ -10806,8 +10805,8 @@ static SDValue lowerV8F64VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
1080610805

1080710806
/// \brief Handle lowering of 16-lane 32-bit floating point shuffles.
1080810807
static SDValue lowerV16F32VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
10809-
const X86Subtarget *Subtarget,
10810-
SelectionDAG &DAG) {
10808+
const X86Subtarget *Subtarget,
10809+
SelectionDAG &DAG) {
1081110810
SDLoc DL(Op);
1081210811
assert(V1.getSimpleValueType() == MVT::v16f32 && "Bad operand type!");
1081310812
assert(V2.getSimpleValueType() == MVT::v16f32 && "Bad operand type!");
@@ -10846,8 +10845,8 @@ static SDValue lowerV8I64VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
1084610845

1084710846
/// \brief Handle lowering of 16-lane 32-bit integer shuffles.
1084810847
static SDValue lowerV16I32VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
10849-
const X86Subtarget *Subtarget,
10850-
SelectionDAG &DAG) {
10848+
const X86Subtarget *Subtarget,
10849+
SelectionDAG &DAG) {
1085110850
SDLoc DL(Op);
1085210851
assert(V1.getSimpleValueType() == MVT::v16i32 && "Bad operand type!");
1085310852
assert(V2.getSimpleValueType() == MVT::v16i32 && "Bad operand type!");

0 commit comments

Comments
 (0)