aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-23 21:28:44 +0000
committerChris Lattner <sabre@nondot.org>2006-03-23 21:28:44 +0000
commit716aefcd910ae849ffb42d4149ac6aecc818c515 (patch)
treeebfb0675dbf43e143463c39bf8a004b29552fab3
parent7692eb4201e2071fb2afddcdaa6ba93b5e6abad4 (diff)
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27000 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/README.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt
index c9fba7fed4..5bdefaa23c 100644
--- a/lib/Target/PowerPC/README.txt
+++ b/lib/Target/PowerPC/README.txt
@@ -569,3 +569,13 @@ We could use a target dag combine to turn the lwz/extsw into an lwa when the
lwz has a single use. Since LWA is cracked anyway, this would be a codesize
win only.
+===-------------------------------------------------------------------------===
+
+ Consider this:
+ v4f32 Vector;
+ v4f32 Vector2 = { Vector.X, Vector.X, Vector.X, Vector.X };
+
+Since we know that "Vector" is 16-byte aligned and we know the element offset
+of ".X", we should change the load into a lve*x instruction, instead of doing
+a load/store/lve*x sequence.
+