simplify this test until it can be dealt with

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36351 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2007-04-22 20:58:56 +00:00
parent 5c10424842
commit 007ce3b336

View File

@ -1,10 +1,11 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep zapnot | wc -l | grep 2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep zapnot
ulong %foo(ulong %y) { ;demanded bits mess up this mask in a hard to fix way
%tmp = and ulong %y, 65535 ;ulong %foo(ulong %y) {
%tmp2 = shr ulong %tmp, ubyte 3 ; %tmp = and ulong %y, 65535
ret ulong %tmp2 ; %tmp2 = shr ulong %tmp, ubyte 3
} ; ret ulong %tmp2
;}
ulong %foo2(ulong %y) { ulong %foo2(ulong %y) {
%tmp = shr ulong %y, ubyte 3 ; <ulong> [#uses=1] %tmp = shr ulong %y, ubyte 3 ; <ulong> [#uses=1]