[PATCH] D13806: AMDGPU/SI: Correctly emit global variables with common linkage when targeting HSA

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 13:48:02 PST 2015


tstellarAMD added inline comments.

================
Comment at: test/CodeGen/AMDGPU/hsa.ll:61
@@ -49,1 +60,3 @@
+
+ at __wg_scratch = common addrspace(3) global i32 zeroinitializer, align 4
 
----------------
arsenm wrote:
> Shouldn't this be erroring? The initializer should be undef
Why does it need to be undef?


http://reviews.llvm.org/D13806





More information about the llvm-commits mailing list