diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-21 03:57:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-21 03:57:07 +0000 |
commit | e8263e64371a02572ae5073cb4affe24ac35788e (patch) | |
tree | 9477986f09be888a6264f7e5f9a0be94245f3f09 | |
parent | bcd8a8264e35e147e23c219f0435c9277e24ec66 (diff) |
Add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28424 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/README.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 24fb24d386..807768002b 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 +} + |