mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
use FileCheck and not grep in new tests
llvm-svn: 142189
This commit is contained in:
parent
d425d074bd
commit
d65adcde2d
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=440 | grep fmadd
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=440 | FileCheck %s
|
||||
|
||||
%0 = type { double, double }
|
||||
|
||||
@ -29,4 +29,5 @@ entry:
|
||||
store double %add.r, double* %real
|
||||
store double %add.i, double* %imag
|
||||
ret void
|
||||
; CHECK: fmadd
|
||||
}
|
||||
|
@ -1,7 +1,5 @@
|
||||
; RUN: llc < %s -march=ppc32 -o %t
|
||||
; RUN: grep sync %t
|
||||
; RUN: not grep msync %t
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=440 | grep msync
|
||||
; RUN: llc < %s -march=ppc32 | FileCheck %s
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=440 | FileCheck %s -check-prefix=BE-CHK
|
||||
|
||||
define i32 @has_a_fence(i32 %a, i32 %b) nounwind {
|
||||
entry:
|
||||
@ -11,10 +9,16 @@ entry:
|
||||
|
||||
IfEqual:
|
||||
fence release
|
||||
; CHECK: sync
|
||||
; CHECK-NOT: msync
|
||||
; BE-CHK: msync
|
||||
br label %end
|
||||
|
||||
IfUnequal:
|
||||
fence release
|
||||
; CHECK: sync
|
||||
; CHECK-NOT: msync
|
||||
; BE-CHK: msync
|
||||
ret i32 0
|
||||
|
||||
end:
|
||||
|
Loading…
Reference in New Issue
Block a user