blob: d00984acf7f329eff01932eaafe91feb753ebe21 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Make sure this testcase codegens to the bic instruction
Dan Gohmanda594cf2009-09-09 00:09:15 +00002; RUN: llc < %s -march=alpha | grep zapnot
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003
4
Reid Spencerf234bed2007-07-19 23:13:04 +00005define i16 @foo(i64 %y) zeroext {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006entry:
7 %tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1]
8 ret i16 %tmp.1
9}