summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-26 18:30:45 +0000
committerChris Lattner <sabre@nondot.org>2010-04-26 18:30:45 +0000
commitf74e25f60c8c63b819ff603cb4c3c18424dc87a7 (patch)
tree27618d33d803dd7a7239da94ac0861517e3a1d58 /test/CodeGen/X86
parent8581c260d3595fd78ce9f1585c85bea545fce5f3 (diff)
Revert r102300/102301, which serious broke objc apps.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/alignment.ll16
-rw-r--r--test/CodeGen/X86/unaligned-load.ll5
2 files changed, 2 insertions, 19 deletions
diff --git a/test/CodeGen/X86/alignment.ll b/test/CodeGen/X86/alignment.ll
deleted file mode 100644
index e4ac2a072c9..00000000000
--- a/test/CodeGen/X86/alignment.ll
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llc %s -o - -mtriple=x86_64-linux-gnu | FileCheck %s
-
-; This can get rounded up to the preferred alignment (16).
-; PR6921
-@GlobalA = global { [384 x i8] } zeroinitializer, align 8
-
-; CHECK: .bss
-; CHECK: .globl GlobalA
-; CHECK: .align 16
-; CHECK: GlobalA:
-; CHECK: .zero 384
-
-; Common variables should also get rounded up to the preferred alignment (16).
-@GlobalB = common global { [384 x i8] } zeroinitializer, align 8
-
-; CHECK: .comm GlobalB,384,16 \ No newline at end of file
diff --git a/test/CodeGen/X86/unaligned-load.ll b/test/CodeGen/X86/unaligned-load.ll
index a99af0605b1..e210531068e 100644
--- a/test/CodeGen/X86/unaligned-load.ll
+++ b/test/CodeGen/X86/unaligned-load.ll
@@ -28,9 +28,8 @@ return:
declare void @llvm.memcpy.i64(i8* nocapture, i8* nocapture, i64, i32) nounwind
-; CORE2: .section
-; CORE2: .align 4
+; CORE2: .align 3
; CORE2-NEXT: _.str1:
; CORE2-NEXT: .asciz "DHRYSTONE PROGRAM, SOME STRING"
-; CORE2: .align 4
+; CORE2: .align 3
; CORE2-NEXT: _.str3: