mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix some erroneous lit test failures due to unlucky name of working directory.
Differential Revision: http://reviews.llvm.org/D17044 llvm-svn: 261104
This commit is contained in:
parent
d1106791d2
commit
efdbc49462
@ -16,9 +16,11 @@ define i32 @main() {
|
||||
|
||||
declare i32 @puts(i8*)
|
||||
|
||||
; CHECK-LABEL: main
|
||||
; CHECK: mov
|
||||
; CHECK-NOT: mov
|
||||
|
||||
; CHECK-FP-ELIM-LABEL: main
|
||||
; CHECK-FP-ELIM: mov
|
||||
; CHECK-FP-ELIM: mov
|
||||
; CHECK-FP-ELIM-NOT: mov
|
||||
|
@ -1,5 +1,7 @@
|
||||
; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: f1
|
||||
; CHECK-NOT: mov
|
||||
define i32 @f1() {
|
||||
%buf = alloca [32 x i32], align 4
|
||||
%tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 0
|
||||
@ -7,6 +9,8 @@ define i32 @f1() {
|
||||
ret i32 %tmp1
|
||||
}
|
||||
|
||||
; CHECK-LABEL: f2
|
||||
; CHECK-NOT: mov
|
||||
define i32 @f2() {
|
||||
%buf = alloca [32 x i8], align 4
|
||||
%tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 0
|
||||
@ -15,6 +19,8 @@ define i32 @f2() {
|
||||
ret i32 %tmp2
|
||||
}
|
||||
|
||||
; CHECK-LABEL: f3
|
||||
; CHECK-NOT: mov
|
||||
define i32 @f3() {
|
||||
%buf = alloca [32 x i32], align 4
|
||||
%tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 32
|
||||
@ -22,6 +28,8 @@ define i32 @f3() {
|
||||
ret i32 %tmp1
|
||||
}
|
||||
|
||||
; CHECK-LABEL: f4
|
||||
; CHECK-NOT: mov
|
||||
define i32 @f4() {
|
||||
%buf = alloca [32 x i8], align 4
|
||||
%tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 2
|
||||
@ -29,6 +37,3 @@ define i32 @f4() {
|
||||
%tmp2 = zext i8 %tmp1 to i32
|
||||
ret i32 %tmp2
|
||||
}
|
||||
|
||||
; CHECK-NOT: mov
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: bar
|
||||
; CHECK-NOT: orr
|
||||
; CHECK-NOT: mov
|
||||
define void @bar(i8* %P, i16* %Q) {
|
||||
entry:
|
||||
%P1 = bitcast i8* %P to i16* ; <i16*> [#uses=1]
|
||||
@ -8,6 +11,9 @@ entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK-LABEL: foo
|
||||
; CHECK-NOT: orr
|
||||
; CHECK-NOT: mov
|
||||
define void @foo(i8* %P, i32* %Q) {
|
||||
entry:
|
||||
%P1 = bitcast i8* %P to i32* ; <i32*> [#uses=1]
|
||||
@ -15,7 +21,3 @@ entry:
|
||||
store i32 %tmp, i32* %P1, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK-NOT: orr
|
||||
; CHECK-NOT: mov
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user