summaryrefslogtreecommitdiff
path: root/test/CodeGen/Alpha/not.ll
blob: 406f6242938330f86731d564c17323e99e7cba18 (plain)
1
2
3
4
5
6
7
8
9
10
; Make sure this testcase codegens to the ornot instruction
; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep 'eqv'

implementation   ; Functions:

long %bar(long %x) {
entry:
	%tmp.1 = xor long %x, -1  		; <long> [#uses=1]
	ret long %tmp.1
}