Modernize testcase

llvm-svn: 7297
This commit is contained in:
Chris Lattner 2003-07-24 19:42:28 +00:00
parent 6dc37abe72
commit 4f6a4119c3
1 changed files with 3 additions and 3 deletions

View File

@ -5,17 +5,17 @@
; RUN: as < %s | opt -instcombine | dis | grep -v seteq | grep -v setne | not grep set
bool "test1"(uint %A) {
bool %test1(uint %A) {
%B = setge uint %A, 1 ; setne %A, 0
ret bool %B
}
bool "test2"(uint %A) {
bool %test2(uint %A) {
%B = setgt uint %A, 0 ; setne %A, 0
ret bool %B
}
bool "test3"(sbyte %A) {
bool %test3(sbyte %A) {
%B = setge sbyte %A, -127 ; setne %A, -128
ret bool %B
}