blob: 8d1fa111be3fe26a272a80a1be7e74178b1346b2 [file] [log] [blame]
Andrew Lenharth714dd6a2005-04-13 13:00:16 +00001; Make sure this testcase codegens to the bic instruction
Reid Spencerdeb4d5a2006-12-31 06:02:00 +00002; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
Andrew Lenharth714dd6a2005-04-13 13:00:16 +00003
4implementation ; Functions:
5
Reid Spencer1cc9bbd2007-01-05 17:41:34 +00006define i16 %foo(i64 %y) zext {
Andrew Lenharth714dd6a2005-04-13 13:00:16 +00007entry:
Reid Spencerdeb4d5a2006-12-31 06:02:00 +00008 %tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1]
9 ret i16 %tmp.1
Andrew Lenharth714dd6a2005-04-13 13:00:16 +000010}