Andrew Lenharth | 80563ff | 2005-04-14 16:17:49 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the zapnot instruction |
Reid Spencer | 65f47a3 | 2007-04-15 18:40:57 +0000 | [diff] [blame] | 2 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep zapnot |
Andrew Lenharth | 80563ff | 2005-04-14 16:17:49 +0000 | [diff] [blame] | 3 | |
| 4 | implementation ; Functions: |
| 5 | |
| 6 | long %bar(long %x) { |
| 7 | entry: |
Andrew Lenharth | fe67ca2 | 2006-01-01 22:14:31 +0000 | [diff] [blame] | 8 | %tmp.1 = and long %x, 16711935 ; <long> [#uses=1] |
Andrew Lenharth | 7c64440 | 2005-05-13 15:42:07 +0000 | [diff] [blame] | 9 | ret long %tmp.1 |
Andrew Lenharth | 80563ff | 2005-04-14 16:17:49 +0000 | [diff] [blame] | 10 | } |