mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-12 14:41:05 +00:00
s/grep/FileCheck/ in some tests
llvm-svn: 175093
This commit is contained in:
parent
9a61e050d5
commit
f2c7301bb8
@ -1,4 +1,5 @@
|
|||||||
; RUN: llc < %s -march=x86-64 | grep -v IMPLICIT_DEF
|
; RUN: llc < %s -march=x86-64 | FileCheck %s
|
||||||
|
; CHECK-NOT: IMPLICIT_DEF
|
||||||
|
|
||||||
define void @foo(<2 x float>* %p) {
|
define void @foo(<2 x float>* %p) {
|
||||||
%t = insertelement <2 x float> undef, float 0.0, i32 0
|
%t = insertelement <2 x float> undef, float 0.0, i32 0
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
; RUN: opt < %s -scalarrepl -S | grep "load volatile"
|
; RUN: opt < %s -scalarrepl -S | FileCheck %s
|
||||||
; RUN: opt < %s -scalarrepl -S | grep "store volatile"
|
|
||||||
|
|
||||||
define i32 @voltest(i32 %T) {
|
define i32 @voltest(i32 %T) {
|
||||||
%A = alloca {i32, i32}
|
%A = alloca {i32, i32}
|
||||||
%B = getelementptr {i32,i32}* %A, i32 0, i32 0
|
%B = getelementptr {i32,i32}* %A, i32 0, i32 0
|
||||||
store volatile i32 %T, i32* %B
|
store volatile i32 %T, i32* %B
|
||||||
|
; CHECK: store volatile
|
||||||
|
|
||||||
%C = getelementptr {i32,i32}* %A, i32 0, i32 1
|
%C = getelementptr {i32,i32}* %A, i32 0, i32 1
|
||||||
%X = load volatile i32* %C
|
%X = load volatile i32* %C
|
||||||
|
; CHECK: load volatile
|
||||||
ret i32 %X
|
ret i32 %X
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user