1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Upgrade this example to new-style syntax.

llvm-svn: 71447
This commit is contained in:
Dan Gohman 2009-05-11 18:04:52 +00:00
parent 0edabc8a6f
commit d365c7a5a3

View File

@ -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
unmodified):
void %test(uint* %P) {
%tmp = load uint* %P
%tmp14 = or uint %tmp, 3305111552
%tmp15 = and uint %tmp14, 3321888767
store uint %tmp15, uint* %P
define void @test(i32* %P) {
%tmp = load i32* %P
%tmp14 = or i32 %tmp, 3305111552
%tmp15 = and i32 %tmp14, 3321888767
store i32 %tmp15, i32* %P
ret void
}