mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 02:05:01 +00:00
New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8603 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6a200efd2
commit
b55650aad6
@ -93,3 +93,15 @@ uint %test14(uint %offset, uint %difference) {
|
||||
ret uint %tmp.8
|
||||
}
|
||||
|
||||
ubyte %test15(ubyte %A) {
|
||||
%B = add ubyte %A, 192 ; Does not effect result
|
||||
%C = and ubyte %B, 16 ; Only one bit set
|
||||
ret ubyte %C
|
||||
}
|
||||
|
||||
ubyte %test16(ubyte %A) {
|
||||
%B = add ubyte %A, 16 ; Turn this into a XOR
|
||||
%C = and ubyte %B, 16 ; Only one bit set
|
||||
ret ubyte %C
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user