[llvm] [AMDGPU] Make ds_bvh_stack_rtn_b32 depend on HasImageInsts, NFC (PR #84256)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 15:09:58 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Changpeng Fang (changpeng)
<details>
<summary>Changes</summary>
For GFX11.
---
Full diff: https://github.com/llvm/llvm-project/pull/84256.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/DSInstructions.td (+1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/84256
More information about the llvm-commits
mailing list