summaryrefslogtreecommitdiff
path: root/test/CodeGen/Alpha/not.ll
blob: fca659cd42e0eaa068be83ba7855d6a61d6484bb (plain)
1
2
3
4
5
6
7
8
9
10
; Make sure this testcase codegens to the ornot instruction
; RUN: llvm-as < %s | 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
}