diff options
Diffstat (limited to 'test/CodeGen/Alpha/zapnot.ll')
-rw-r--r-- | test/CodeGen/Alpha/zapnot.ll | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGen/Alpha/zapnot.ll b/test/CodeGen/Alpha/zapnot.ll index 057d16b..aaeaa11 100644 --- a/test/CodeGen/Alpha/zapnot.ll +++ b/test/CodeGen/Alpha/zapnot.ll @@ -1,11 +1,10 @@ ; Make sure this testcase codegens to the bic instruction -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep 'zapnot' +; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot' implementation ; Functions: -ushort %foo(long %y) { +define i16 @zext %foo(i64 %y) { entry: - %tmp.1 = cast long %y to ushort ; <ushort> [#uses=1] - ret ushort %tmp.1 + %tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1] + ret i16 %tmp.1 } - |