mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
New testcase
llvm-svn: 16560
This commit is contained in:
parent
d3cfa5aba5
commit
6cc64c11a5
@ -113,3 +113,18 @@ int %test17(int %A) {
|
||||
%D = or int %B, %C ; %D = and int %B, 5
|
||||
ret int %D
|
||||
}
|
||||
|
||||
bool %test18(int %A) {
|
||||
%B = setge int %A, 100
|
||||
%C = setlt int %A, 50
|
||||
%D = or bool %B, %C ;; (A-50) >u 50
|
||||
ret bool %D
|
||||
}
|
||||
|
||||
bool %test19(int %A) {
|
||||
%B = seteq int %A, 50
|
||||
%C = seteq int %A, 51
|
||||
%D = or bool %B, %C ;; (A-50) < 2
|
||||
ret bool %D
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user