blob: 46e0d88bd8d7753331c3da2bce64b7354ac9f484 [file] [log] [blame]
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00001; Make sure this testcase codegens to the bic instruction
2; RUN: llvm-as < %s | llc -march=alpha | grep 'bic'
3
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 = and long %y, %tmp.1
Andrew Lenharthb8a5d632005-04-08 16:46:44 +000010 ret long %tmp.2
11}