From d365c7a5a34b1285deef6cf2f977190a2f7bd56c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 11 May 2009 18:04:52 +0000 Subject: [PATCH] Upgrade this example to new-style syntax. llvm-svn: 71447 --- lib/Target/README.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 8399115e598..e5eca96c5a3 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -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 }