aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/lha.ll
blob: d4a6673ced28a327e6b09c663e64759fcc552d33 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=ppc32 | grep lha
; XFAIL: *

uint %test(short* %a) {
entry:
    %tmp.1 = load short* %a
    %tmp.2 = cast short %tmp.1 to uint
    ret uint %tmp.2
}