summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/unaligned-load.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-26 18:46:46 +0000
committerChris Lattner <sabre@nondot.org>2010-04-26 18:46:46 +0000
commit567dd1f5d0ae454e7c51ef070bbb8d31a43ed4bc (patch)
treea7bb33c12a3a053d69cee16c78634de8b83af19f /test/CodeGen/X86/unaligned-load.ll
parent6fa7636e614cbf0a19d374e169791a774281e8d3 (diff)
downloadllvm-567dd1f5d0ae454e7c51ef070bbb8d31a43ed4bc.tar.gz
llvm-567dd1f5d0ae454e7c51ef070bbb8d31a43ed4bc.tar.bz2
llvm-567dd1f5d0ae454e7c51ef070bbb8d31a43ed4bc.tar.xz
fix PR6921 a different way. Intead of increasing the
alignment of globals with a specified alignment, we fix common variables to obey their alignment. Add a comment explaining why this behavior is important. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/unaligned-load.ll')
-rw-r--r--test/CodeGen/X86/unaligned-load.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/X86/unaligned-load.ll b/test/CodeGen/X86/unaligned-load.ll
index e210531068..b26097f31b 100644
--- a/test/CodeGen/X86/unaligned-load.ll
+++ b/test/CodeGen/X86/unaligned-load.ll
@@ -28,6 +28,7 @@ return:
declare void @llvm.memcpy.i64(i8* nocapture, i8* nocapture, i64, i32) nounwind
+; CORE2: .section
; CORE2: .align 3
; CORE2-NEXT: _.str1:
; CORE2-NEXT: .asciz "DHRYSTONE PROGRAM, SOME STRING"