diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-04-13 20:36:04 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-04-13 20:36:04 +0000 |
commit | 9398197ef1c0db9796cf602f5b2ae8dbde3c86c3 (patch) | |
tree | 96c0eed6084f6f355ff24a223f4ba3e14b739b61 /llvm/test/CodeGen/X86/alignment.ll | |
parent | e72509c10cf67975ddd290034a84ef97ec6f0b8d (diff) | |
download | bcm5719-llvm-9398197ef1c0db9796cf602f5b2ae8dbde3c86c3.tar.gz bcm5719-llvm-9398197ef1c0db9796cf602f5b2ae8dbde3c86c3.zip |
Fix a regression caused by r102515 where explicit alignment on globals is
ignored. There was a test to catch this, but it was just blindly updated in
a large change. This fixes another part of <rdar://problem/9275290>.
llvm-svn: 129466
Diffstat (limited to 'llvm/test/CodeGen/X86/alignment.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/alignment.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/alignment.ll b/llvm/test/CodeGen/X86/alignment.ll index 9678e6df740..7e911159790 100644 --- a/llvm/test/CodeGen/X86/alignment.ll +++ b/llvm/test/CodeGen/X86/alignment.ll @@ -6,7 +6,7 @@ ; CHECK: .bss ; CHECK: .globl GlobalA -; CHECK: .align 16 +; CHECK: .align 8 ; CHECK: GlobalA: ; CHECK: .zero 384 @@ -15,12 +15,12 @@ ; PR6921 @GlobalB = common global { [384 x i8] } zeroinitializer, align 8 -; CHECK: .comm GlobalB,384,16 +; CHECK: .comm GlobalB,384,8 @GlobalC = common global { [384 x i8] } zeroinitializer, align 2 -; CHECK: .comm GlobalC,384,16 +; CHECK: .comm GlobalC,384,2 |