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

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 18 07:01:34 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:

I removed it. Will do it in a follow up.

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


More information about the cfe-commits mailing list