Skip to content

Commit e8bfb6b

Browse files
justinfargnolismallp-o-p
authored andcommitted
[NFC][NVPTX] Cleanup getPreferredVectorAction() (llvm#114115)
`v2*16` is a legal type in NVPTX. Thus, this is dead code.
1 parent 45b9630 commit e8bfb6b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,8 +1335,6 @@ NVPTXTargetLowering::getPreferredVectorAction(MVT VT) const {
13351335
if (!VT.isScalableVector() && VT.getVectorNumElements() != 1 &&
13361336
VT.getScalarType() == MVT::i1)
13371337
return TypeSplitVector;
1338-
if (Isv2x16VT(VT))
1339-
return TypeLegal;
13401338
return TargetLoweringBase::getPreferredVectorAction(VT);
13411339
}
13421340

0 commit comments

Comments
 (0)