[llvm] [NFC][NVPTX] Cleanup getPreferredVectorAction() (PR #114115)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 14:22:22 PDT 2024


================
@@ -1337,8 +1337,6 @@ NVPTXTargetLowering::getPreferredVectorAction(MVT VT) const {
   if (!VT.isScalableVector() && VT.getVectorNumElements() != 1 &&
       VT.getScalarType() == MVT::i1)
     return TypeSplitVector;
-  if (Isv2x16VT(VT))
-    return TypeLegal;
   return TargetLoweringBase::getPreferredVectorAction(VT);
----------------
Artem-B wrote:

OK.

https://github.com/llvm/llvm-project/pull/114115


More information about the llvm-commits mailing list