[llvm-commits] [llvm] r142656 - /llvm/trunk/test/CodeGen/X86/block-placement.ll
Chandler Carruth
chandlerc at gmail.com
Fri Oct 21 09:41:40 PDT 2011
Author: chandlerc
Date: Fri Oct 21 11:41:39 2011
New Revision: 142656
URL: http://llvm.org/viewvc/llvm-project?rev=142656&view=rev
Log:
Don't hard code the desired alignment for loops -- it isn't 16-bytes on
all x86 systems. Sorry for the breakage.
Modified:
llvm/trunk/test/CodeGen/X86/block-placement.ll
Modified: llvm/trunk/test/CodeGen/X86/block-placement.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/block-placement.ll?rev=142656&r1=142655&r2=142656&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/block-placement.ll (original)
+++ llvm/trunk/test/CodeGen/X86/block-placement.ll Fri Oct 21 11:41:39 2011
@@ -79,7 +79,7 @@
; pass.
; CHECK: test_loop_align:
; CHECK: %entry
-; CHECK: .align 16,
+; CHECK: .align [[ALIGN:[0-9]+]],
; CHECK-NEXT: %body
; CHECK: %exit
@@ -104,9 +104,9 @@
; 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
More information about the llvm-commits
mailing list