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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 17:03:31 PST 2015


arsenm 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
 
----------------
Shouldn't this be erroring? The initializer should be undef


http://reviews.llvm.org/D13806





More information about the llvm-commits mailing list