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