Andrew Lenharth | b8a5d63 | 2005-04-08 16:46:44 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the eqv instruction |
2 | ; RUN: llvm-as < %s | llc -march=alpha | grep 'eqv' | ||||
3 | |||||
4 | implementation ; Functions: | ||||
5 | |||||
6 | long %bar(long %x, long %y) { | ||||
7 | entry: | ||||
8 | %tmp.1 = xor long %x, -1 ; <long> [#uses=1] | ||||
Andrew Lenharth | a844b01 | 2005-04-08 16:55:15 +0000 | [diff] [blame^] | 9 | %tmp.2 = xor long %y, %tmp.1 |
Andrew Lenharth | b8a5d63 | 2005-04-08 16:46:44 +0000 | [diff] [blame] | 10 | ret long %tmp.2 |
11 | } |