Add more strength reduction testcases

llvm-svn: 3283
This commit is contained in:
Chris Lattner 2002-08-09 23:33:58 +00:00
parent 0d92ff0488
commit 840d4699e4
1 changed files with 10 additions and 0 deletions

View File

@ -22,3 +22,13 @@ bool "test3"(sbyte %A) {
%B = setge sbyte %A, -127 ; setne %A, -128 %B = setge sbyte %A, -127 ; setne %A, -128
ret bool %B ret bool %B
} }
bool %test4(sbyte %A) {
%B = setle sbyte %A, 126 ; setne %A, 127
ret bool %B
}
bool %test5(sbyte %A) {
%B = setlt sbyte %A, 127 ; setne %A, 127
ret bool %B
}