summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/README.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-02 17:56:29 +0000
committerChris Lattner <sabre@nondot.org>2008-03-02 17:56:29 +0000
commitbd0bb3f07f01bb0bafaac71def522df42e75cc8c (patch)
tree190df27d870d8ed47ea812dca3644fa1d3adfb91 /llvm/lib/Target/PowerPC/README.txt
parenta8b5ed8d3a299ff5f76ddbfed2770d84ab0c7d1c (diff)
downloadbcm5719-llvm-bd0bb3f07f01bb0bafaac71def522df42e75cc8c.tar.gz
bcm5719-llvm-bd0bb3f07f01bb0bafaac71def522df42e75cc8c.zip
Evan implemented this.
llvm-svn: 47827
Diffstat (limited to 'llvm/lib/Target/PowerPC/README.txt')
-rw-r--r--llvm/lib/Target/PowerPC/README.txt23
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt
index 2ae4088293a..7bc50e5aa39 100644
--- a/llvm/lib/Target/PowerPC/README.txt
+++ b/llvm/lib/Target/PowerPC/README.txt
@@ -154,29 +154,6 @@ more than one use. Itanium will want this too.
===-------------------------------------------------------------------------===
-Compile this:
-
-int %f1(int %a, int %b) {
- %tmp.1 = and int %a, 15 ; <int> [#uses=1]
- %tmp.3 = and int %b, 240 ; <int> [#uses=1]
- %tmp.4 = or int %tmp.3, %tmp.1 ; <int> [#uses=1]
- ret int %tmp.4
-}
-
-without a copy. We make this currently:
-
-_f1:
- rlwinm r2, r4, 0, 24, 27
- rlwimi r2, r3, 0, 28, 31
- or r3, r2, r2
- blr
-
-The two-addr pass or RA needs to learn when it is profitable to commute an
-instruction to avoid a copy AFTER the 2-addr instruction. The 2-addr pass
-currently only commutes to avoid inserting a copy BEFORE the two addr instr.
-
-===-------------------------------------------------------------------------===
-
Compile offsets from allocas:
int *%test() {
OpenPOWER on IntegriCloud