From 9d6103087a051109cd3675d94ec1100fd8dd6ecd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 21 May 2006 03:57:07 +0000 Subject: [PATCH] Add a note llvm-svn: 28424 --- lib/Target/README.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 24fb24d3867..807768002b5 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -239,3 +239,15 @@ ulong %bar() { it should be extended to do so. //===---------------------------------------------------------------------===// + +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 + ret void +} +