diff options
-rw-r--r-- | lib/Target/PowerPC/README.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index ffe979c603..2c99e02e4e 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; } + |