blob: 76bbc92601d04c0e0d884e3d70c1e38ce3fba404 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Make sure this testcase codegens to the eqv instruction
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep eqv
3
4implementation ; Functions:
5
6long %bar(long %x, long %y) {
7entry:
8 %tmp.1 = xor long %x, -1 ; <long> [#uses=1]
9 %tmp.2 = xor long %y, %tmp.1
10 ret long %tmp.2
11}