From: Chris Lattner Date: Wed, 11 Oct 2006 01:44:46 +0000 (+0000) Subject: This has apparently been fixed X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8ca5afe4fc9c9efd6347324ba0783fd323682c85;p=oota-llvm.git This has apparently been fixed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30864 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/README.txt b/lib/Target/Alpha/README.txt index cde71402941..7f54cff2525 100644 --- a/lib/Target/Alpha/README.txt +++ b/lib/Target/Alpha/README.txt @@ -151,33 +151,3 @@ $L8: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Fix Ordered/Unordered FP stuff - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -improve bytezap opertunities -ulong %foo(ulong %y) { -entry: - %tmp = and ulong %y, 65535 - %tmp2 = shr ulong %tmp, ubyte 3 - ret ulong %tmp2 -} - - -compiles to a 3 instruction sequence without instcombine - zapnot $16,3,$0 - srl $0,3,$0 - ret $31,($26),1 - -After instcombine you get -ulong %foo(ulong %y) { -entry: - %tmp = shr ulong %y, ubyte 3 ; [#uses=1] - %tmp2 = and ulong %tmp, 8191 ; [#uses=1] - ret ulong %tmp2 -} - -which compiles to - lda $0,8191($31) - srl $16,3,$1 - and $1,$0,$0 - ret $31,($26),1 -