[llvm] AMDGPU: Fix overriding SubtargetPredicate in MUBUF_Real_gfx90a (PR #96351)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 21 12:44:11 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Matt Arsenault (arsenm)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/96351.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/BUFInstructions.td (+3-3)
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/BUFInstructions.td b/llvm/lib/Target/AMDGPU/BUFInstructions.td
index 21335e9b64647..fa2bc1edfa9a7 100644
--- a/llvm/lib/Target/AMDGPU/BUFInstructions.td
+++ b/llvm/lib/Target/AMDGPU/BUFInstructions.td
@@ -3082,9 +3082,9 @@ multiclass MUBUF_Real_vi_gfx90a<bits<7> op, bit isTFE = 0> : MUBUF_Real_vi<op> {
}
if ps.FPAtomic then {
- let SubtargetPredicate = isGFX90AOnly,
- AssemblerPredicate = isGFX90AOnly in
- defm NAME : MUBUF_Real_gfx90a<op, 0>;
+ let AssemblerPredicate = isGFX90AOnly in
+ defm NAME : MUBUF_Real_gfx90a<op, 0>;
+
def _gfx940 : MUBUF_Real_gfx940<op, ps>;
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/96351
More information about the llvm-commits
mailing list