Modernize testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-07-24 19:42:28 +00:00
parent b5874f1499
commit d2a0896832

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
}