Andrew Lenharth | 714dd6a | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the bic instruction |
Reid Spencer | d1f8369 | 2007-04-15 18:40:57 +0000 | [diff] [blame^] | 2 | ; RUN: llvm-as < %s | llc -march=alpha | grep zapnot |
Andrew Lenharth | 714dd6a | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 3 | |
Andrew Lenharth | 714dd6a | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 4 | |
Reid Spencer | ce38056 | 2007-01-26 08:25:06 +0000 | [diff] [blame] | 5 | define i16 @foo(i64 %y) zext { |
Andrew Lenharth | 714dd6a | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 6 | entry: |
Reid Spencer | deb4d5a | 2006-12-31 06:02:00 +0000 | [diff] [blame] | 7 | %tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1] |
| 8 | ret i16 %tmp.1 |
Andrew Lenharth | 714dd6a | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 9 | } |