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