[llvm] [AMDGPU] Make ds_bvh_stack_rtn_b32 depend on HasImageInsts, NFC (PR #84256)
Changpeng Fang via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 15:09:29 PST 2024
https://github.com/changpeng created https://github.com/llvm/llvm-project/pull/84256
For GFX11.
>From 469452bcec972bf7917a54c752887612a2a74701 Mon Sep 17 00:00:00 2001
From: Changpeng Fang <changpeng.fang at amd.com>
Date: Wed, 6 Mar 2024 15:04:25 -0800
Subject: [PATCH] [AMDGPU] Make ds_bvh_stack_rtn_b32 depend on HasImageInsts
for gfx11, NFC
---
llvm/lib/Target/AMDGPU/DSInstructions.td | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/lib/Target/AMDGPU/DSInstructions.td b/llvm/lib/Target/AMDGPU/DSInstructions.td
index 219ff37b0a15c5..5b94102770cd56 100644
--- a/llvm/lib/Target/AMDGPU/DSInstructions.td
+++ b/llvm/lib/Target/AMDGPU/DSInstructions.td
@@ -714,6 +714,7 @@ def DS_SUB_GS_REG_RTN : DS_0A1D_RET_GDS<"ds_sub_gs_reg_rtn", VReg_64, VGPR_32>;
let SubtargetPredicate = isGFX11Plus in {
+let OtherPredicates = [HasImageInsts] in
def DS_BVH_STACK_RTN_B32 : DS_BVH_STACK<"ds_bvh_stack_rtn_b32">;
} // let SubtargetPredicate = isGFX11Plus
More information about the llvm-commits
mailing list