[llvm] [NVPTX] legalize v2i32 to improve compatibility with v2f32 (PR #153478)

Durgadoss R via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 22 06:53:21 PDT 2025


================
@@ -2717,6 +2776,26 @@ static SDValue lowerPrmtIntrinsic(SDValue Op, SelectionDAG &DAG) {
   SDValue Selector = (Op->op_end() - 1)->get();
   return getPRMT(A, B, Selector, DL, DAG, Mode);
 }
+
+static SDValue lowerIntrinsicWChain(SDValue Op, SelectionDAG &DAG) {
+  switch (Op->getConstantOperandVal(1)) {
+  default:
+    return Op;
+
+  case Intrinsic::nvvm_tcgen05_ld_16x64b_x2:
----------------
durga4github wrote:

Changes LGTM otherwise.
cc: @schwarzschild-radius 

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


More information about the llvm-commits mailing list