mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-06 01:39:11 +00:00
Upgrade this example to new-style syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3cd90a18bb
commit
5c8274b5e3
@ -170,11 +170,11 @@ if anyone cared enough about sincos.
|
|||||||
Turn this into a single byte store with no load (the other 3 bytes are
|
Turn this into a single byte store with no load (the other 3 bytes are
|
||||||
unmodified):
|
unmodified):
|
||||||
|
|
||||||
void %test(uint* %P) {
|
define void @test(i32* %P) {
|
||||||
%tmp = load uint* %P
|
%tmp = load i32* %P
|
||||||
%tmp14 = or uint %tmp, 3305111552
|
%tmp14 = or i32 %tmp, 3305111552
|
||||||
%tmp15 = and uint %tmp14, 3321888767
|
%tmp15 = and i32 %tmp14, 3321888767
|
||||||
store uint %tmp15, uint* %P
|
store i32 %tmp15, i32* %P
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user