[llvm] [NVPTX] support packed f32 instructions for sm_100+ (PR #126337)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 27 09:08:52 PDT 2025


================
@@ -5743,7 +5799,7 @@ static SDValue PerformVSELECTCombine(SDNode *N,
 static SDValue
 PerformBUILD_VECTORCombine(SDNode *N, TargetLowering::DAGCombinerInfo &DCI) {
   auto VT = N->getValueType(0);
-  if (!DCI.isAfterLegalizeDAG() || !Isv2x16VT(VT))
+  if (!DCI.isAfterLegalizeDAG() || !isPackedVectorTy(VT) || !VT.is32BitVector())
----------------
AlexMaclean wrote:

Will this include v4i8 where it did not previously? is this intentional?

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


More information about the llvm-commits mailing list