blob: 76bbc92601d04c0e0d884e3d70c1e38ce3fba404 [file] [log] [blame]
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00001; Make sure this testcase codegens to the eqv instruction
Reid Spencer65f47a32007-04-15 18:40:57 +00002; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep eqv
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00003
4implementation ; Functions:
5
6long %bar(long %x, long %y) {
7entry:
8 %tmp.1 = xor long %x, -1 ; <long> [#uses=1]
Andrew Lenhartha844b012005-04-08 16:55:15 +00009 %tmp.2 = xor long %y, %tmp.1
Andrew Lenharthb8a5d632005-04-08 16:46:44 +000010 ret long %tmp.2
11}