diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-06-02 17:52:33 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-02 17:52:33 +0000 |
commit | 009b1c42aa6266385f2c37e227516b24077e6dd7 (patch) | |
tree | 64ba909838c23261cace781ece27d106134ea451 /test/CodeGen/Alpha/zapnot.ll |
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 0000000000000..7fec19bdf3f57 --- /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) zeroext { +entry: + %tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1] + ret i16 %tmp.1 +} |