27 lines · plain
1# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -start-before postrapseudos -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s2# RUN: llc -mtriple=amdgcn -mcpu=gfx1010 -start-before postrapseudos -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s3 4# Note: GFX8 did not allow SDWA SGPR sources. Therefor no HI16 subregs can be used there.5 6# GCN-LABEL: {{^}}lo_to_lo_sgpr_to_vgpr:7# GCN: v_mov_b32_sdwa v1, s0 dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:WORD_08name: lo_to_lo_sgpr_to_vgpr9tracksRegLiveness: true10body: |11 bb.0:12 $sgpr0 = IMPLICIT_DEF13 $vgpr1_lo16 = COPY $sgpr0_lo1614 S_ENDPGM 015...16 17# GCN-LABEL: {{^}}lo_to_hi_sgpr_to_vgpr:18# GCN: v_mov_b32_sdwa v1, s0 dst_sel:WORD_1 dst_unused:UNUSED_PRESERVE src0_sel:WORD_019name: lo_to_hi_sgpr_to_vgpr20tracksRegLiveness: true21body: |22 bb.0:23 $sgpr0 = IMPLICIT_DEF24 $vgpr1_hi16 = COPY killed $sgpr0_lo1625 S_ENDPGM 026...27