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

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