From 1eeedaea59c7d6d9f231989c81013c2c0ea10d2a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 14 Jul 2006 04:07:29 +0000 Subject: [PATCH] Add a note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29139 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/README.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index ffe979c603d..2c99e02e4e2 100644 --- a/lib/Target/PowerPC/README.txt +++ b/lib/Target/PowerPC/README.txt @@ -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; } +