Fix for bad FileCheck converts in revision 89584.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Edward O'Callaghan 2009-11-22 12:50:05 +00:00
parent 81fff07daf
commit 85d1aab444
3 changed files with 22 additions and 23 deletions

View File

@ -44,7 +44,6 @@ define void @foo9(double %x) {
store i16 %tmp, i16* null
ret void
}
; CHECK: vmov d0, r0, r1
; CHECK-NOT: fmrrd
; CHECK: foo9:
; CHECK: vmov r0, s0

View File

@ -39,17 +39,13 @@ declare i32 @llvm.bswap.i32(i32)
declare i16 @llvm.bswap.i16(i16)
; X32: stwbrx 3, 4, 5
; X32: lwbrx 3, 3, 4
; X32: sthbrx 3, 4, 5
; X32: lhbrx 3, 3, 4
; X32-NOT: rlwinm
; X32-NOT: rlwimi
; X32: stwbrx
; X32: lwbrx
; X32: sthbrx
; X32: lhbrx
; X32: stwbrx 3, 4, 5
; X32: lwbrx 3, 3, 4
; X32: sthbrx 3, 4, 5
; X32: lhbrx 3, 3, 4
; X64-NOT: rlwinm
; X64-NOT: rlwimi
; X64: stwbrx
; X64: lwbrx
; X64: sthbrx
; X64: lhbrx

View File

@ -6,37 +6,41 @@ define double @foo_add(double %P) {
%tmp.1 = fadd double %P, 1.230000e+02 ; <double> [#uses=1]
ret double %tmp.1
}
; CHECK: fadd {{[^sS][^tT]}}
; CHECK: fadd {{[^sS][^tT]}}
; CHECK: foo_add:
; CHECK: fadd DWORD PTR
define double @foo_mul(double %P) {
%tmp.1 = fmul double %P, 1.230000e+02 ; <double> [#uses=1]
ret double %tmp.1
}
; CHECK: fmul {{[^sS][^tT]}}
; CHECK: foo_mul:
; CHECK: fmul DWORD PTR
define double @foo_sub(double %P) {
%tmp.1 = fsub double %P, 1.230000e+02 ; <double> [#uses=1]
ret double %tmp.1
}
; CHECK: foo_sub:
; CHECK: fadd DWORD PTR
define double @foo_subr(double %P) {
%tmp.1 = fsub double 1.230000e+02, %P ; <double> [#uses=1]
ret double %tmp.1
}
; CHECK: foo_subr:
; CHECK: fsub QWORD PTR
define double @foo_div(double %P) {
%tmp.1 = fdiv double %P, 1.230000e+02 ; <double> [#uses=1]
ret double %tmp.1
}
; CHECK: foo_div:
; CHECK: fdiv DWORD PTR
define double @foo_divr(double %P) {
%tmp.1 = fdiv double 1.230000e+02, %P ; <double> [#uses=1]
ret double %tmp.1
}
; CHECK: fsub {{[^sS][^tT]}}
; CHECK: fdiv {{[^sS][^tT]}}
; CHECK: fdiv {{[^sS][^tT]}}
; CHECK: foo_divr:
; CHECK: fdiv QWORD PTR