Andrew Lenharth | f701697 | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the bic instruction |
Reid Spencer | 65f47a3 | 2007-04-15 18:40:57 +0000 | [diff] [blame] | 2 | ; RUN: llvm-as < %s | llc -march=alpha | grep zapnot |
Andrew Lenharth | f701697 | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 3 | |
Andrew Lenharth | f701697 | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 4 | |
Reid Spencer | e3ff5ad | 2007-01-26 08:25:06 +0000 | [diff] [blame] | 5 | define i16 @foo(i64 %y) zext { |
Andrew Lenharth | f701697 | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 6 | entry: |
Reid Spencer | eacb702 | 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 | f701697 | 2005-04-13 13:00:16 +0000 | [diff] [blame] | 9 | } |