Skip to content

Commit c9dd4b1

Browse files
committed
remove unnecessary TLI override
1 parent 1b4ec1f commit c9dd4b1

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3137,13 +3137,6 @@ bool NVPTXTargetLowering::splitValueIntoRegisterParts(
31373137
return false;
31383138
}
31393139

3140-
const TargetRegisterClass *
3141-
NVPTXTargetLowering::getRegClassFor(MVT VT, bool isDivergent) const {
3142-
if (VT == MVT::v2f32)
3143-
return &NVPTX::Int64RegsRegClass;
3144-
return TargetLowering::getRegClassFor(VT, isDivergent);
3145-
}
3146-
31473140
// This creates target external symbol for a function parameter.
31483141
// Name of the symbol is composed from its index and the function name.
31493142
// Negative index corresponds to special parameter (unsized array) used for

llvm/lib/Target/NVPTX/NVPTXISelLowering.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,6 @@ class NVPTXTargetLowering : public TargetLowering {
315315
SDValue *Parts, unsigned NumParts, MVT PartVT,
316316
std::optional<CallingConv::ID> CC) const override;
317317

318-
const TargetRegisterClass *getRegClassFor(MVT VT,
319-
bool isDivergent) const override;
320-
321318
void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue> &Results,
322319
SelectionDAG &DAG) const override;
323320
SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;

0 commit comments

Comments
 (0)