1 ; RUN: llc -march=amdgcn -mcpu=verde -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s 2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s 3 4 ; GCN-LABEL: {{^}}main: 5 ; GCN: v_movreld_b32_e32 v0, 6 ; GCN: v_mov_b32_e32 v0, v1 7 ; GCN: ; return 8 define amdgpu_ps float @main(i32 inreg %arg) #0 { 9 main_body: 10 %tmp24 = insertelement <2 x float> undef, float 0.000000e+00, i32 %arg 11 %tmp25 = extractelement <2 x float> %tmp24, i32 1 12 ret float %tmp25 13 } 14 15 attributes #0 = { "InitialPSInputAddr"="36983" } 16