blob: a75c7469c0192657ec5273ca5af0363b29e95398 [file] [log] [blame]
Evan Cheng02b985c2007-01-19 09:20:23 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6
2
3uint %test1(uint %tmp54) {
4 %tmp56 = tail call uint asm "uxtb16 $0,$1", "=r,r"( uint %tmp54 )
5 ret uint %tmp56
6}
7
8void %test2() {
9 %tmp1 = call long asm "ldmia $1!, {$0, ${0:H}}", "=r,==r,1"( int** null, int* null )
10 %tmp1 = cast long %tmp1 to ulong
11 %tmp2 = shr ulong %tmp1, ubyte 32
12 %tmp3 = cast ulong %tmp2 to int
13 %tmp4 = call int asm "pkhbt $0, $1, $2, lsl #16", "=r,r,r"( int 0, int %tmp3 )
14 ret void
15}