mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Don't hard code the desired alignment for loops -- it isn't 16-bytes on
all x86 systems. Sorry for the breakage. llvm-svn: 142656
This commit is contained in:
parent
501c72cdc5
commit
2f20f63a01
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user