[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 02:36:46 PDT 2025


================
@@ -6227,7 +6259,11 @@ static void ReplaceINTRINSIC_W_CHAIN(SDNode *N, SelectionDAG &DAG,
   case Intrinsic::nvvm_tcgen05_ld_16x256b_x8:
   case Intrinsic::nvvm_tcgen05_ld_16x256b_x16:
   case Intrinsic::nvvm_tcgen05_ld_16x256b_x32:
-    return ReplaceTcgen05Ld(N, DAG, Results);
+    if (auto Pair = lowerTcgen05Ld(N, DAG)) {
----------------
durga4github wrote:

Can we name the local variable `res` instead of `Pair` ?

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


More information about the llvm-commits mailing list