[llvm] [AMDGPU] Insert wmma coexec aware anti-hints rules (PR #226397)
Syadus Sefat via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 11 01:02:12 PDT 2026
================
@@ -0,0 +1,54 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -mtriple=amdgpu12.50-amd-amdhsa -passes=amdgpu-pre-ra-optimizations,two-address-instruction,greedy,virt-reg-rewriter,post-RA-hazard-rec -amdgpu-anti-hints-rules=swmmac-war-index %s -o - | FileCheck %s --check-prefix=CHECK
+# RUN: llc -mtriple=amdgpu12.50-amd-amdhsa -passes=amdgpu-pre-ra-optimizations,two-address-instruction,greedy,virt-reg-rewriter,post-RA-hazard-rec -amdgpu-anti-hints-rules=none %s -o - | FileCheck %s --check-prefix=NOAH
+
+--- |
+ define amdgpu_kernel void @war_swmmac_index_src2() #0 { ret void }
+
+ attributes #0 = { nounwind "amdgpu-agpr-alloc"="0" "frame-pointer"="none" }
+...
+
+---
----------------
mssefat wrote:
Yeah, added them.
https://github.com/llvm/llvm-project/pull/226397
More information about the llvm-commits
mailing list