Add a note
authorChris Lattner <sabre@nondot.org>
Fri, 14 Jul 2006 04:07:29 +0000 (04:07 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Jul 2006 04:07:29 +0000 (04:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29139 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/README.txt

index ffe979c603d0df3780a85326a5fa0bf2f4ddb863..2c99e02e4e22f5277ff96e9dce4c574f82feb5f4 100644 (file)
@@ -530,3 +530,12 @@ _foo:
         or r2, r2, r4
         stw r2, 0(r3)
         blr
+
+===-------------------------------------------------------------------------===
+
+On PPC64, this results in a truncate followed by a truncstore.  These should
+be folded together.
+
+unsigned short G;
+void foo(unsigned long H) { G = H; }
+