diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-11 01:44:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-11 01:44:46 +0000 |
commit | 8ca5afe4fc9c9efd6347324ba0783fd323682c85 (patch) | |
tree | cd6041398fd669ad97e5b646a5f27ca2c1624279 /lib/Target/Alpha/README.txt | |
parent | 137d0ec3dab0ad4ef5c3433e8d73d17b2726a18d (diff) | |
download | llvm-8ca5afe4fc9c9efd6347324ba0783fd323682c85.tar.gz llvm-8ca5afe4fc9c9efd6347324ba0783fd323682c85.tar.bz2 llvm-8ca5afe4fc9c9efd6347324ba0783fd323682c85.tar.xz |
This has apparently been fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/README.txt')
-rw-r--r-- | lib/Target/Alpha/README.txt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/Target/Alpha/README.txt b/lib/Target/Alpha/README.txt index cde7140294..7f54cff252 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 ; <ulong> [#uses=1] - %tmp2 = and ulong %tmp, 8191 ; <ulong> [#uses=1] - ret ulong %tmp2 -} - -which compiles to - lda $0,8191($31) - srl $16,3,$1 - and $1,$0,$0 - ret $31,($26),1 - |