summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/avoid-loop-align.ll
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-10-15 07:47:49 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-10-15 07:47:49 +0000
commit5effb5c6a161c1bdbdd9585dfdc97a6105e3df66 (patch)
tree6441ce5f8a25ef18b4a8082f3cc834f7c8556f61 /test/CodeGen/X86/avoid-loop-align.ll
parentcd749a9c07f1de2fb8affde90537efa4bc3e7c54 (diff)
downloadFreeBSD-src-5effb5c6a161c1bdbdd9585dfdc97a6105e3df66.zip
FreeBSD-src-5effb5c6a161c1bdbdd9585dfdc97a6105e3df66.tar.gz
Update llvm to r84175.
Diffstat (limited to 'test/CodeGen/X86/avoid-loop-align.ll')
-rw-r--r--test/CodeGen/X86/avoid-loop-align.ll9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avoid-loop-align.ll b/test/CodeGen/X86/avoid-loop-align.ll
index 3e68f94..d4c5c67 100644
--- a/test/CodeGen/X86/avoid-loop-align.ll
+++ b/test/CodeGen/X86/avoid-loop-align.ll
@@ -1,4 +1,11 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin | grep align | count 1
+; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
+
+; CodeGen should align the top of the loop, which differs from the loop
+; header in this case.
+
+; CHECK: jmp LBB1_2
+; CHECK: .align
+; CHECK: LBB1_1:
@A = common global [100 x i32] zeroinitializer, align 32 ; <[100 x i32]*> [#uses=1]
OpenPOWER on IntegriCloud