diff options
Diffstat (limited to 'test/CodeGen/Alpha/zapnot.ll')
-rw-r--r-- | test/CodeGen/Alpha/zapnot.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/zapnot.ll b/test/CodeGen/Alpha/zapnot.ll new file mode 100644 index 0000000..05e90ec --- /dev/null +++ b/test/CodeGen/Alpha/zapnot.ll @@ -0,0 +1,9 @@ +; Make sure this testcase codegens to the bic instruction +; RUN: llvm-as < %s | llc -march=alpha | grep zapnot + + +define i16 @foo(i64 %y) zext { +entry: + %tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1] + ret i16 %tmp.1 +} |