summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-18 06:30:51 +0000
committerChris Lattner <sabre@nondot.org>2005-10-18 06:30:51 +0000
commit53b9c3ad4c785f4cb77e6d974719083045a4351f (patch)
tree09b0dd557288b7ca9c569f539a359869c150dd19 /llvm/lib
parent727671a3dc33821ed902900a649d30ccddafa26d (diff)
downloadbcm5719-llvm-53b9c3ad4c785f4cb77e6d974719083045a4351f.tar.gz
bcm5719-llvm-53b9c3ad4c785f4cb77e6d974719083045a4351f.zip
add a case
llvm-svn: 23785
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/README.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt
index 4db59ef7bb2..16117de5bf9 100644
--- a/llvm/lib/Target/PowerPC/README.txt
+++ b/llvm/lib/Target/PowerPC/README.txt
@@ -24,6 +24,9 @@ _foo:
rlwinm r3, r2, 0, 16, 31
blr
+and:
+ extern int X, Y; int* test(int C) { return C? &X : &Y; }
+as one load when using --enable-pic.
* Support 'update' load/store instructions. These are cracked on the G5, but
are still a codesize win.
OpenPOWER on IntegriCloud