From 6283760cd13fa3f41c7f6462456661ea54ded980 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sat, 14 Jan 2006 01:24:22 +0000 Subject: [PATCH] Remove some redundant stuff out of the readme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25308 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/README.txt | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 1ba89aa448a..84536ef2deb 100644 --- a/lib/Target/PowerPC/README.txt +++ b/lib/Target/PowerPC/README.txt @@ -219,24 +219,6 @@ should be branch free code. LLVM is turning it into < 1 because of the RHS. ===-------------------------------------------------------------------------=== -For this testcase: -int f1(int a, int b) { return (a&0xF)|(b&0xF0); } - -We currently emit: -_f1: - rlwinm r2, r4, 0, 24, 27 - rlwimi r2, r3, 0, 28, 31 - or r3, r2, r2 - blr - -We could emit: -_f1: - rlwinm r4, r4, 0, 24, 27 - rlwimi r3, r4, 0, 0, 27 - blr - -===-------------------------------------------------------------------------=== - No loads or stores of the constants should be needed: struct foo { double X, Y; };