mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-17 05:30:00 +00:00
Remove extraneous CHECK-NOTs from previous commit and add a new test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,7 +21,6 @@ define zeroext i8 @t2(float %x, float %y) nounwind {
|
|||||||
ret i8 %retval
|
ret i8 %retval
|
||||||
; CHECK: t2
|
; CHECK: t2
|
||||||
; CHECK: fcmp olt float %x, %y
|
; CHECK: fcmp olt float %x, %y
|
||||||
; CHECK-NOT: fcmp olt float %x, %y
|
|
||||||
; CHECK-NOT: fcmp ord float %x, %y
|
; CHECK-NOT: fcmp ord float %x, %y
|
||||||
; CHECK-NOT: and
|
; CHECK-NOT: and
|
||||||
}
|
}
|
||||||
@@ -44,7 +43,16 @@ define zeroext i8 @t4(float %x, float %y) nounwind {
|
|||||||
ret i8 %retval
|
ret i8 %retval
|
||||||
; CHECK: t4
|
; CHECK: t4
|
||||||
; CHECK: fcmp one float %y, %x
|
; CHECK: fcmp one float %y, %x
|
||||||
; CHECK-NOT: fcmp one float %y, %x
|
|
||||||
; CHECK-NOT: fcmp ord float %x, %y
|
; CHECK-NOT: fcmp ord float %x, %y
|
||||||
; CHECK-NOT: and
|
; CHECK-NOT: and
|
||||||
}
|
}
|
||||||
|
|
||||||
|
define zeroext i8 @t5(float %x, float %y) nounwind {
|
||||||
|
%a = fcmp ord float %x, %y
|
||||||
|
%b = fcmp uno float %x, %y
|
||||||
|
%c = and i1 %a, %b
|
||||||
|
%retval = zext i1 %c to i8
|
||||||
|
ret i8 %retval
|
||||||
|
; CHECK: t5
|
||||||
|
; CHECK: ret i8 0
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user