[llvm-branch-commits] [clang] [llvm] [AMDGPU] Add support for `v_prng_b32` on gfx1250 (PR #149450)

Shilei Tian via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 18 05:41:15 PDT 2025


================
@@ -4007,7 +4007,8 @@ SDValue AMDGPUTargetLowering::performIntrinsicWOChainCombine(
   case Intrinsic::amdgcn_rcp_legacy:
   case Intrinsic::amdgcn_rsq_legacy:
   case Intrinsic::amdgcn_rsq_clamp:
-  case Intrinsic::amdgcn_tanh: {
+  case Intrinsic::amdgcn_tanh:
+  case Intrinsic::amdgcn_prng_b32: {
----------------
shiltian wrote:

It is related to the changes in `llvm/test/CodeGen/AMDGPU/llvm.amdgcn.prng.ll`.

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


More information about the llvm-branch-commits mailing list