check that casts still use zap

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2005-04-13 13:00:16 +00:00
parent ed09502a0b
commit f701697101

View File

@ -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 ; <ushort> [#uses=1]
ret ushort %tmp.1
}