blob: c92c3d5a18dd3d198020dd641866cc1a3928eda7 [file] [log] [blame]
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00001; Make sure this testcase codegens to the ornot instruction
2; RUN: llvm-as < %s | llc -march=alpha | grep 'ornot'
3
4implementation ; Functions:
5
6long %bar(long %x, long %y) {
7entry:
8 %tmp.1 = xor long %x, -1 ; <long> [#uses=1]
9 %tmp.2 = or long %y, long %tmp.1
10 ret long %tmp.2
11}