mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5840326ae6
commit
4daaebf170
@ -65,3 +65,13 @@ uint %test10(uint %A) {
|
||||
%D = and uint %C, 1 ; (X ^ C1) & C2 --> (X & C2) ^ (C1&C2)
|
||||
ret uint %D
|
||||
}
|
||||
|
||||
uint %test11(uint %A, uint* %P) {
|
||||
%B = or uint %A, 3
|
||||
%C = xor uint %B, 12
|
||||
store uint %C, uint* %P ; additional use of C
|
||||
%D = and uint %C, 3 ; %C = and uint %B, 3 --> 3
|
||||
ret uint %D
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user