diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
commit | 53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26 (patch) | |
tree | 896c6dee3a55f268ea98656237c7954799fd8ec7 /test/CodeGen/Alpha/zapnot3.ll | |
parent | efec751a1b786724862ceff52748df94873a807e (diff) | |
download | external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.zip external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.tar.gz external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.tar.bz2 |
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Alpha/zapnot3.ll')
-rw-r--r-- | test/CodeGen/Alpha/zapnot3.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CodeGen/Alpha/zapnot3.ll b/test/CodeGen/Alpha/zapnot3.ll index c106b6d..26aab37 100644 --- a/test/CodeGen/Alpha/zapnot3.ll +++ b/test/CodeGen/Alpha/zapnot3.ll @@ -1,15 +1,15 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep zapnot +; RUN: llvm-as < %s | llc -march=alpha | grep zapnot ;demanded bits mess up this mask in a hard to fix way -;ulong %foo(ulong %y) { -; %tmp = and ulong %y, 65535 -; %tmp2 = shr ulong %tmp, ubyte 3 -; ret ulong %tmp2 +;define i64 @foo(i64 %y) { +; %tmp = and i64 %y, 65535 +; %tmp2 = shr i64 %tmp, i8 3 +; ret i64 %tmp2 ;} -ulong %foo2(ulong %y) { - %tmp = shr ulong %y, ubyte 3 ; <ulong> [#uses=1] - %tmp2 = and ulong %tmp, 8191 ; <ulong> [#uses=1] - ret ulong %tmp2 +define i64 @foo2(i64 %y) { + %tmp = lshr i64 %y, 3 ; <i64> [#uses=1] + %tmp2 = and i64 %tmp, 8191 ; <i64> [#uses=1] + ret i64 %tmp2 } |