[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:50:45 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:
Let us add a comment here on why only these set of tcgen05-ld intrinsics (and not the others) require the extra lowering here.
(Currently it is clear but it will be good to have a note for the future)
https://github.com/llvm/llvm-project/pull/153478
More information about the llvm-commits
mailing list