mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
new testcase
llvm-svn: 21714
This commit is contained in:
parent
20b5bce229
commit
8f567bbc2a
@ -158,3 +158,9 @@ bool %test22(ubyte %A) {
|
||||
ret bool %C
|
||||
}
|
||||
|
||||
sbyte %test23(int %A) {
|
||||
%B = shl int %A, ubyte 24 ;; casts not needed
|
||||
%C = shr int %B, ubyte 24
|
||||
%D = cast int %C to sbyte
|
||||
ret sbyte %D
|
||||
}
|
||||
|
@ -146,3 +146,11 @@ int %test21(bool %C, int %A, int %B) {
|
||||
%D = select bool %C2, int %A, int %B
|
||||
ret int %D
|
||||
}
|
||||
|
||||
int %test22(bool %X) {
|
||||
%Y = xor bool %X, true
|
||||
%Z = cast bool %Y to int
|
||||
%Q = xor int %Z, 1
|
||||
ret int %Q
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user