mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
Add some more features that we could instcombine away
llvm-svn: 3239
This commit is contained in:
parent
1fdeca3bb6
commit
439fb9cf91
@ -41,3 +41,13 @@ bool "test6"(int %A) {
|
||||
%B = setge int %A, %A
|
||||
ret bool %B
|
||||
}
|
||||
|
||||
bool "test7"(uint %A) {
|
||||
%B = setge uint %A, 0 ; true
|
||||
ret bool %B
|
||||
}
|
||||
|
||||
bool "test8"(uint %A) {
|
||||
%B = setlt uint %A, 0 ; false
|
||||
ret bool %B
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user