blob: 1cc397e640c0d3ab17db18b3e16277762e87f5bc [file] [log] [blame]
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00001; Make sure this testcase codegens to the eqv instruction
2; RUN: llvm-as < %s | 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, long %tmp.1
10 ret long %tmp.2
11}