Skip to content

Commit e89f821

Browse files
[NFC][NVPTX] Cleanup getPreferredVectorAction() (#114115)
`v2*16` is a legal type in NVPTX. Thus, this is dead code.
1 parent b1320d3 commit e89f821

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)