1 ; RUN: llc -O0 -mtriple armv7-- -stop-before=finalize-isel < %s
2 ; RUN: llc -O0 -mtriple armv7-- -stop-before=finalize-isel -global-isel < %s
6 define arm_aapcscc i32 @pkh(i32 %x, i32 %y) {
7 %andx = and i32 %x, 65535
9 %andy = and i32 %shl, 4294901760 ; same as -65536
10 %or = or i32 %andx, %andy