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:
7632e2b
)
add a note
author
Chris Lattner
<sabre@nondot.org>
Fri, 3 Feb 2006 21:25:23 +0000
(21:25 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 3 Feb 2006 21:25:23 +0000
(21:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25942
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 2a0d8e121cacdd95c6abf1c80812372de56f55e7..32a2e7ccbd57f6a088c66bb284ef3932fb42a20e 100644
(file)
--- a/
lib/Target/README.txt
+++ b/
lib/Target/README.txt
@@
-64,4
+64,8
@@
Number 1 is the preferred solution.
//===---------------------------------------------------------------------===//
+For dag combiner and instcombine:
+Fold: "A / (B << N)" where B is a power of 2, to "A >> (N + log2(B))".
+Fold: "A % (B << N)" where B is a power of 2, to "A & ((B << N) - 1)".
+//===---------------------------------------------------------------------===//