diff options
Diffstat (limited to 'test/CodeGen/Alpha/zapnot4.ll')
-rw-r--r-- | test/CodeGen/Alpha/zapnot4.ll | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/CodeGen/Alpha/zapnot4.ll b/test/CodeGen/Alpha/zapnot4.ll index b805607..1be3ca2 100644 --- a/test/CodeGen/Alpha/zapnot4.ll +++ b/test/CodeGen/Alpha/zapnot4.ll @@ -1,8 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep zapnot +; RUN: llvm-as < %s | llc -march=alpha | grep zapnot -ulong %foo(ulong %y) { - %tmp = shl ulong %y, ubyte 3 ; <ulong> [#uses=1] - %tmp2 = and ulong %tmp, 65535 ; <ulong> [#uses=1] - ret ulong %tmp2 +define i64 @foo(i64 %y) { + %tmp = shl i64 %y, 3 ; <i64> [#uses=1] + %tmp2 = and i64 %tmp, 65535 ; <i64> [#uses=1] + ret i64 %tmp2 } - |