[llvm] [LLVM][NVPTX] Fix infinite legalization loop in tcgen05.st (PR #183012)
Durgadoss R via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 25 02:00:15 PST 2026
================
@@ -2864,6 +2855,14 @@ static SDValue lowerIntrinsicVoid(SDValue Op, SelectionDAG &DAG) {
case Intrinsic::nvvm_tcgen05_st_32x32b_x64:
case Intrinsic::nvvm_tcgen05_st_32x32b_x128:
return lowerTcgen05St(Op, DAG);
+ case Intrinsic::nvvm_tcgen05_st_16x32bx2_x2:
+ case Intrinsic::nvvm_tcgen05_st_16x32bx2_x4:
+ case Intrinsic::nvvm_tcgen05_st_16x32bx2_x8:
+ case Intrinsic::nvvm_tcgen05_st_16x32bx2_x16:
+ case Intrinsic::nvvm_tcgen05_st_16x32bx2_x32:
+ case Intrinsic::nvvm_tcgen05_st_16x32bx2_x64:
+ case Intrinsic::nvvm_tcgen05_st_16x32bx2_x128:
+ return lowerTcgen05St(Op, DAG, /* hasOffset */ true);
----------------
durga4github wrote:
so, these were lowered with hasOffset=false previously?
If we need new tests for this update, please add them.
Change itself LGTM
https://github.com/llvm/llvm-project/pull/183012
More information about the llvm-commits
mailing list