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

implementation   ; Functions:

ushort %foo(long %y) {
entry:
        %tmp.1 = cast long %y to ushort         ; <ushort> [#uses=1]
        ret ushort %tmp.1
}