mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
Add more strength reduction testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
389694834a
commit
f8e2cf9221
@ -22,3 +22,13 @@ bool "test3"(sbyte %A) {
|
||||
%B = setge sbyte %A, -127 ; setne %A, -128
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user