1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

make these less sensitive to temporary naming.

llvm-svn: 97799
This commit is contained in:
Chris Lattner 2010-03-05 08:43:33 +00:00
parent 3d5ab3df06
commit f44ffcbc2c
3 changed files with 15 additions and 15 deletions

View File

@ -1,7 +1,7 @@
; This is the sequence of stuff that the Java front-end expands for a single
; <= comparison. Check to make sure we turn it into a <= (only)
; RUN: opt < %s -instcombine -S | grep {%c3 = icmp sle i32 %A, %B}
; RUN: opt < %s -instcombine -S | grep {icmp sle i32 %A, %B}
define i1 @le(i32 %A, i32 %B) {
%c1 = icmp sgt i32 %A, %B ; <i1> [#uses=1]

View File

@ -89,8 +89,8 @@ define i1 @test8(i32 %X) {
ret i1 %S
; CHECK: @test8
; CHECK-NEXT: add i32 %X, -8
; CHECK-NEXT: %S = icmp ult i32 {{.*}}, 2
; CHECK-NEXT: ret i1 %S
; CHECK-NEXT: icmp ult i32 {{.*}}, 2
; CHECK-NEXT: ret i1
}
@GA = internal constant [4 x { i32, i32 } ] [
@ -107,6 +107,6 @@ define i1 @test9(i32 %X) {
ret i1 %R
; CHECK: @test9
; CHECK-NEXT: add i32 %X, -1
; CHECK-NEXT: %R = icmp ult i32 {{.*}}, 2
; CHECK-NEXT: ret i1 %R
; CHECK-NEXT: icmp ult i32 {{.*}}, 2
; CHECK-NEXT: ret i1
}

View File

@ -126,8 +126,8 @@ define i1 @test14(i32 %A, i32 %B) {
%D = or i1 %C1, %C2
ret i1 %D
; CHECK: @test14
; CHECK: %D = icmp ne i32 %A, %B
; CHECK: ret i1 %D
; CHECK: icmp ne i32 %A, %B
; CHECK: ret i1
}
define i1 @test15(i32 %A, i32 %B) {
@ -137,8 +137,8 @@ define i1 @test15(i32 %A, i32 %B) {
%D = or i1 %C1, %C2
ret i1 %D
; CHECK: @test15
; CHECK: %D = icmp ule i32 %A, %B
; CHECK: ret i1 %D
; CHECK: icmp ule i32 %A, %B
; CHECK: ret i1
}
define i32 @test16(i32 %A) {
@ -171,8 +171,8 @@ define i1 @test18(i32 %A) {
ret i1 %D
; CHECK: @test18
; CHECK: add i32
; CHECK: %D = icmp ugt
; CHECK: ret i1 %D
; CHECK: icmp ugt
; CHECK: ret i1
}
define i1 @test19(i32 %A) {
@ -183,8 +183,8 @@ define i1 @test19(i32 %A) {
ret i1 %D
; CHECK: @test19
; CHECK: add i32
; CHECK: %D = icmp ult
; CHECK: ret i1 %D
; CHECK: icmp ult
; CHECK: ret i1
}
define i32 @test20(i32 %x) {
@ -236,8 +236,8 @@ define i1 @test24(double %X, double %Y) {
ret i1 %bothcond
; CHECK: @test24
; CHECK: %bothcond = fcmp uno double %Y, %X ; <i1> [#uses=1]
; CHECK: ret i1 %bothcond
; CHECK: = fcmp uno double %Y, %X
; CHECK: ret i1
}
; PR3266 & PR5276