Skip to content

Commit c095709

Browse files
Initial commit
1 parent 230f332 commit c095709

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5686,8 +5686,7 @@ PerformBUILD_VECTORCombine(SDNode *N, TargetLowering::DAGCombinerInfo &DCI) {
56865686
return DAG.getNode(ISD::BITCAST, DL, VT, PRMT);
56875687
}
56885688

5689-
static SDValue combineADDRSPACECAST(SDNode *N,
5690-
TargetLowering::DAGCombinerInfo &DCI) {
5689+
static SDValue PerformADDRSPACECASTCombine(SDNode *N) {
56915690
auto *ASCN1 = cast<AddrSpaceCastSDNode>(N);
56925691

56935692
if (auto *ASCN2 = dyn_cast<AddrSpaceCastSDNode>(ASCN1->getOperand(0))) {
@@ -5736,7 +5735,7 @@ SDValue NVPTXTargetLowering::PerformDAGCombine(SDNode *N,
57365735
case ISD::BUILD_VECTOR:
57375736
return PerformBUILD_VECTORCombine(N, DCI);
57385737
case ISD::ADDRSPACECAST:
5739-
return combineADDRSPACECAST(N, DCI);
5738+
return PerformADDRSPACECASTCombine(N);
57405739
}
57415740
return SDValue();
57425741
}

0 commit comments

Comments
 (0)