brintos

brintos / llvm-project-archived public Read only

0
0
Text · 351 B · 6147646 Raw
13 lines · plain
1; RUN: llc -O0 -mtriple armv7-- -stop-before=finalize-isel < %s2; RUN: llc -O0 -mtriple armv7-- -stop-before=finalize-isel -global-isel < %s3 4; CHECK: PKHBT5 6define arm_aapcscc i32 @pkh(i32 %x, i32 %y) {7  %andx = and i32 %x, 655358  %shl = shl i32 %y, 19  %andy = and i32 %shl, 4294901760 ; same as -6553610  %or = or i32 %andx, %andy11  ret i32 %or12}13