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