summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/block-placement.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-10-21 16:41:39 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-10-21 16:41:39 +0000
commit7555c40c48eb8f468855b3a8c87a3befb26b1d3e (patch)
treefccafe2c1fff162a791f0bccff636f4f763662cd /test/CodeGen/X86/block-placement.ll
parentfe7b4998c603f181cad282894368028709a5c5e7 (diff)
downloadllvm-7555c40c48eb8f468855b3a8c87a3befb26b1d3e.tar.gz
llvm-7555c40c48eb8f468855b3a8c87a3befb26b1d3e.tar.bz2
llvm-7555c40c48eb8f468855b3a8c87a3befb26b1d3e.tar.xz
Don't hard code the desired alignment for loops -- it isn't 16-bytes on
all x86 systems. Sorry for the breakage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/block-placement.ll')
-rw-r--r--test/CodeGen/X86/block-placement.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/block-placement.ll b/test/CodeGen/X86/block-placement.ll
index 887a62eabd..e2604c2cb6 100644
--- a/test/CodeGen/X86/block-placement.ll
+++ b/test/CodeGen/X86/block-placement.ll
@@ -79,7 +79,7 @@ define i32 @test_loop_align(i32 %i, i32* %a) {
; pass.
; CHECK: test_loop_align:
; CHECK: %entry
-; CHECK: .align 16,
+; CHECK: .align [[ALIGN:[0-9]+]],
; CHECK-NEXT: %body
; CHECK: %exit
@@ -104,9 +104,9 @@ define i32 @test_nested_loop_align(i32 %i, i32* %a, i32* %b) {
; Check that we provide nested loop body alignment.
; CHECK: test_nested_loop_align:
; CHECK: %entry
-; CHECK: .align 16,
+; CHECK: .align [[ALIGN]],
; CHECK-NEXT: %loop.body.1
-; CHECK: .align 16,
+; CHECK: .align [[ALIGN]],
; CHECK-NEXT: %inner.loop.body
; CHECK-NOT: .align
; CHECK: %loop.body.2