aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/avoid-loop-align-2.ll
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-15 07:47:49 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-15 07:47:49 +0000
commit26137f35958fa2237eceb06ef7003e3c19159129 (patch)
tree6441ce5f8a25ef18b4a8082f3cc834f7c8556f61 /test/CodeGen/X86/avoid-loop-align-2.ll
parent59850d0874429601812bc13408cb1f776649027c (diff)
Notes
Diffstat (limited to 'test/CodeGen/X86/avoid-loop-align-2.ll')
-rw-r--r--test/CodeGen/X86/avoid-loop-align-2.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avoid-loop-align-2.ll b/test/CodeGen/X86/avoid-loop-align-2.ll
index 03e69e7a1a49..fc9d1f0428fb 100644
--- a/test/CodeGen/X86/avoid-loop-align-2.ll
+++ b/test/CodeGen/X86/avoid-loop-align-2.ll
@@ -1,4 +1,8 @@
-; RUN: llc < %s -march=x86 | grep align | count 3
+; RUN: llc < %s -march=x86 | grep align | count 4
+
+; TODO: Is it a good idea to align inner loops? It's hard to know without
+; knowing what their trip counts are, or other dynamic information. For
+; now, CodeGen aligns all loops.
@x = external global i32* ; <i32**> [#uses=1]