Add a testcase for load short -> uint, which is currently emitted as a
[oota-llvm.git] / test / CodeGen / PowerPC / lha.ll
1 ; RUN: llvm-as < %s | llc -march=ppc32 | grep lha
2 ; XFAIL: *
3
4 uint %test(short* %a) {
5 entry:
6     %tmp.1 = load short* %a
7     %tmp.2 = cast short %tmp.1 to uint
8     ret uint %tmp.2
9 }