Skip to content

Commit ad282f4

Browse files
committed
[X86] Rename combineScalarToVector to combineSCALAR_TO_VECTOR. NFC.
Match the file style of using the ISD NodeType name for the combine/lower method name.
1 parent 831527a commit ad282f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58572,8 +58572,8 @@ static SDValue combineEXTRACT_SUBVECTOR(SDNode *N, SelectionDAG &DAG,
5857258572
return SDValue();
5857358573
}
5857458574

58575-
static SDValue combineScalarToVector(SDNode *N, SelectionDAG &DAG,
58576-
const X86Subtarget &Subtarget) {
58575+
static SDValue combineSCALAR_TO_VECTOR(SDNode *N, SelectionDAG &DAG,
58576+
const X86Subtarget &Subtarget) {
5857758577
EVT VT = N->getValueType(0);
5857858578
SDValue Src = N->getOperand(0);
5857958579
SDLoc DL(N);
@@ -59266,7 +59266,7 @@ SDValue X86TargetLowering::PerformDAGCombine(SDNode *N,
5926659266
// clang-format off
5926759267
default: break;
5926859268
case ISD::SCALAR_TO_VECTOR:
59269-
return combineScalarToVector(N, DAG, Subtarget);
59269+
return combineSCALAR_TO_VECTOR(N, DAG, Subtarget);
5927059270
case ISD::EXTRACT_VECTOR_ELT:
5927159271
case X86ISD::PEXTRW:
5927259272
case X86ISD::PEXTRB:

0 commit comments

Comments
 (0)