aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/NVPTX/weak-global.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/NVPTX/weak-global.ll')
-rw-r--r--test/CodeGen/NVPTX/weak-global.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/NVPTX/weak-global.ll b/test/CodeGen/NVPTX/weak-global.ll
index 2bef4c5..a64f9f4 100644
--- a/test/CodeGen/NVPTX/weak-global.ll
+++ b/test/CodeGen/NVPTX/weak-global.ll
@@ -4,6 +4,6 @@
@g = common addrspace(1) global i32 zeroinitializer
define i32 @func0() {
- %val = load i32 addrspace(1)* @g
+ %val = load i32, i32 addrspace(1)* @g
ret i32 %val
}