blob: 158e75ec5a93efbecc6ccf6f3da765b74281d94f [file] [log] [blame]
Nate Begeman43c3c702005-08-18 03:11:44 +00001; RUN: llvm-as < %s | llc -march=ppc32 | grep lha
Nate Begeman43c3c702005-08-18 03:11:44 +00002
3uint %test(short* %a) {
Nate Begeman43c3c702005-08-18 03:11:44 +00004 %tmp.1 = load short* %a
5 %tmp.2 = cast short %tmp.1 to uint
6 ret uint %tmp.2
7}