[PATCH] D120586: [Attributor] Add AAAddressSpace to deduce address spaces
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 22:44:01 PDT 2023
jdoerfert added inline comments.
================
Comment at: llvm/test/Transforms/Attributor/address_space_info.ll:5
+ at dst = dso_local addrspace(1) externally_initialized global i32 0, align 4
+ at g1 = dso_local addrspace(1) externally_initialized global i32 0, align 4
+ at g2 = dso_local addrspace(1) externally_initialized global i32 0, align 4
----------------
================
Comment at: llvm/test/Transforms/Attributor/address_space_info.ll:27
+entry:
+ store i32 1, ptr %p, align 4
+ ret void
----------------
Now we can see if it works.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120586/new/
https://reviews.llvm.org/D120586
More information about the llvm-commits
mailing list