blob: a47035e7f0e6208d40ba36071baefd651d9a810b [file] [log] [blame]
Andrew Lenharthf7016972005-04-13 13:00:16 +00001; Make sure this testcase codegens to the bic instruction
Dan Gohmanfce288f2009-09-09 00:09:15 +00002; RUN: llc < %s -march=alpha | grep zapnot
Andrew Lenharthf7016972005-04-13 13:00:16 +00003
Andrew Lenharthf7016972005-04-13 13:00:16 +00004
Chris Lattner26b00002011-06-17 03:14:27 +00005define zeroext i16 @foo(i64 %y) {
Andrew Lenharthf7016972005-04-13 13:00:16 +00006entry:
Reid Spencereacb7022006-12-31 06:02:00 +00007 %tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1]
8 ret i16 %tmp.1
Andrew Lenharthf7016972005-04-13 13:00:16 +00009}