From: Andrew Lenharth Date: Wed, 13 Apr 2005 13:00:16 +0000 (+0000) Subject: check that casts still use zap X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f701697101caa0c1ab53cc9a6de7a199fd7ba3f2;p=oota-llvm.git check that casts still use zap git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21283 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Alpha/zapnot.ll b/test/CodeGen/Alpha/zapnot.ll new file mode 100644 index 00000000000..f7cb294da9d --- /dev/null +++ b/test/CodeGen/Alpha/zapnot.ll @@ -0,0 +1,11 @@ +; Make sure this testcase codegens to the bic instruction +; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot' + +implementation ; Functions: + +ushort %foo(long %y) { +entry: + %tmp.1 = cast long %y to ushort ; [#uses=1] + ret ushort %tmp.1 +} +