[llvm] [AMDGPU] Add NoaliasAddrSpace to AAMDnodes (PR #149247)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 28 01:25:05 PDT 2025
================
@@ -0,0 +1,38 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple=amdgcn -mcpu=gfx1200 -run-pass=machineverifier -o - %s | FileCheck %s
+
+
+--- |
+ define void @test_parsing_printing(ptr %ptr, float %data) #0 {
+ %1 = atomicrmw fadd ptr %ptr, float %data syncscope("agent") seq_cst, align 4, !noalias.addrspace !0
+ ret void
+ }
+
+ attributes #0 = { "target-cpu"="gfx1200" }
----------------
arsenm wrote:
```suggestion
define void @test_parsing_printing(ptr %ptr, float %data) {
%1 = atomicrmw fadd ptr %ptr, float %data syncscope("agent") seq_cst, align 4, !noalias.addrspace !0
ret void
}
```
https://github.com/llvm/llvm-project/pull/149247
More information about the llvm-commits
mailing list