aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-30 21:54:15 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-30 21:54:15 +0000
commit3dad610aaa50a78225a8a61a8f2aa9d7e30a7136 (patch)
tree9d9cdbecfe1b52c487f28351d2cc5158f2e1af21 /test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
parentaee0f453c5a801cee59178942180eac12f3fe670 (diff)
Make GlobalMerge honor the preferred alignment on globals without an explicitly specified alignment.
<rdar://problem/10497732>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll')
-rw-r--r--test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll b/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
index 8b29c153d7..ca88eedcea 100644
--- a/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
+++ b/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
@@ -3,11 +3,11 @@
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32"
target triple = "thumbv7-apple-darwin10"
-@x1 = internal global i8 1
-@x2 = internal global i8 1
-@x3 = internal global i8 1
-@x4 = internal global i8 1
-@x5 = global i8 1
+@x1 = internal global i8 1, align 1
+@x2 = internal global i8 1, align 1
+@x3 = internal global i8 1, align 1
+@x4 = internal global i8 1, align 1
+@x5 = global i8 1, align 1
; Check debug info output for merged global.
; DW_AT_location