projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d9b10b
)
add a note
author
Chris Lattner
<sabre@nondot.org>
Tue, 14 Mar 2006 19:31:24 +0000
(19:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 14 Mar 2006 19:31:24 +0000
(19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26762
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/README.txt
patch
|
blob
|
history
diff --git
a/lib/Target/README.txt
b/lib/Target/README.txt
index 000fdded1698b6246d0ea8546fd25a190a20cfc2..c19dc7e308db8bd197931a0f87b179c06d28bf63 100644
(file)
--- a/
lib/Target/README.txt
+++ b/
lib/Target/README.txt
@@
-113,3
+113,11
@@
for 1,2,4,8 bytes.
//===---------------------------------------------------------------------===//
+This code:
+int rot(unsigned char b) { int a = ((b>>1) ^ (b<<7)) & 0xff; return a; }
+
+Can be improved in two ways:
+
+1. The instcombiner should eliminate the type conversions.
+2. The X86 backend should turn this into a rotate by one bit.
+