aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-12-12 08:44:39 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-12-12 08:44:39 +0000
commit20a39e96d56946ddf2c3ed481b02334d0ba22719 (patch)
tree9da0bbb9a16c21a297f898d45dd3f426d28b2218 /test/Assembler
parente12a7ebe06c1b22cc33c8d58ebc51645fe0366e7 (diff)
downloadexternal_llvm-20a39e96d56946ddf2c3ed481b02334d0ba22719.zip
external_llvm-20a39e96d56946ddf2c3ed481b02334d0ba22719.tar.gz
external_llvm-20a39e96d56946ddf2c3ed481b02334d0ba22719.tar.bz2
Implement part of review feedback for address spaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/2007-12-11-AddressSpaces.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Assembler/2007-12-11-AddressSpaces.ll b/test/Assembler/2007-12-11-AddressSpaces.ll
index 91f6d93..e3cd262 100644
--- a/test/Assembler/2007-12-11-AddressSpaces.ll
+++ b/test/Assembler/2007-12-11-AddressSpaces.ll
@@ -5,9 +5,9 @@
; RUN: llvm-as < %s | llvm-dis |& grep {addrspace(22)} | count 5
%struct.mystruct = type { i32, i32 addrspace(33)*, i32, i32 addrspace(33)* }
-@input = global %struct.mystruct zeroinitializer addrspace(42) ; <%struct.mystruct addrspace(42)*> [#uses=1]
+@input = weak global %struct.mystruct zeroinitializer addrspace(42) ; <%struct.mystruct addrspace(42)*> [#uses=1]
@output = global %struct.mystruct zeroinitializer addrspace(66) ; <%struct.mystruct addrspace(66)*> [#uses=1]
-@y = global i32 addrspace(11)* addrspace(22)* null addrspace(33) ; <i32 addrspace(11)* addrspace(22)* addrspace(33)*> [#uses=1]
+@y = external global i32 addrspace(11)* addrspace(22)* addrspace(33) ; <i32 addrspace(11)* addrspace(22)* addrspace(33)*> [#uses=1]
define void @foo() {
entry: