Fix some tests that depend on register allocation.

llvm-svn: 132602
This commit is contained in:
Jakob Stoklund Olesen 2011-06-03 22:45:21 +00:00
parent e1c6d3acb4
commit 496fa5556f
4 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
target triple = "x86_64-apple-darwin10.0.0"
; PR 9879
; CHECK: ##DEBUG_VALUE: tid <- R14D+0
; CHECK: ##DEBUG_VALUE: tid <-
%0 = type { i8*, i8*, i8*, i8*, i32 }
@sgv = internal addrspace(2) constant [1 x i8] zeroinitializer

View File

@ -2,7 +2,7 @@
; RUN: llc < %s -tailcallopt -mtriple=x86_64-win32 -post-RA-scheduler=true | FileCheck %s
; FIXME: Redundant unused stack allocation could be eliminated.
; CHECK: subq ${{24|72}}, %rsp
; CHECK: subq ${{24|72|80}}, %rsp
; Check that lowered arguments on the stack do not overwrite each other.
; Add %in1 %p1 to a different temporary register (%eax).

View File

@ -4,15 +4,15 @@
; Both loads should happen before either store.
; CHECK: movl (%rdi), %eax
; CHECK: movl (%rsi), %ecx
; CHECK: movl %ecx, (%rdi)
; CHECK: movl %eax, (%rsi)
; CHECK: movl (%rdi), %[[R1:...]]
; CHECK: movl (%rsi), %[[R2:...]]
; CHECK: movl %[[R2]], (%rdi)
; CHECK: movl %[[R1]], (%rsi)
; WIN64: movl (%rcx), %eax
; WIN64: movl (%rdx), %esi
; WIN64: movl %esi, (%rcx)
; WIN64: movl %eax, (%rdx)
; WIN64: movl (%rcx), %[[R1:...]]
; WIN64: movl (%rdx), %[[R2:...]]
; WIN64: movl %[[R2]], (%rcx)
; WIN64: movl %[[R1]], (%rdx)
define void @short2_int_swap(<2 x i16>* nocapture %b, i32* nocapture %c) nounwind {
entry:

View File

@ -43,9 +43,9 @@ entry:
; W64: subq %rax, %rsp
; W64: movq %rsp, %rax
; EFI: leaq 15(%rcx), [[R1:%r..]]
; EFI: leaq 15(%rcx), [[R1:%r.*]]
; EFI: andq $-16, [[R1]]
; EFI: movq %rsp, [[R64:%r..]]
; EFI: movq %rsp, [[R64:%r.*]]
; EFI: subq [[R1]], [[R64]]
; EFI: movq [[R64]], %rsp