brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 0547487 Raw
34 lines · plain
1# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass post-RA-sched %s -o - | FileCheck -check-prefix=GFX90 %s2# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -passes=post-RA-sched %s -o - | FileCheck -check-prefix=GFX90 %s3 4# This tests that a KILL isn't considered as a valid instruction for a hazard5# slot (e.g. m0 def followed by V_INTERP for gfx9)6# The hazard recognizer should mov another instruction into that slot (in this case the S_MOV_B327 8--- |9  define amdgpu_ps void @_amdgpu_ps_main() #0 { ret void }10...11---12# GFX90-LABEL: name: _amdgpu_ps_main13# GFX90-LABEL: bb.0:14# GFX90: $m0 = S_MOV_B32 killed renamable $sgpr415# GFX90-NEXT: KILL undef renamable $sgpr216# GFX90-NEXT: S_MOV_B32 017# GFX90-NEXT: V_INTERP_MOV_F3218name:            _amdgpu_ps_main19tracksRegLiveness: true20body:             |21  bb.0:22    liveins: $sgpr2, $sgpr3, $sgpr423 24    $sgpr6 = S_MOV_B32 killed $sgpr325    renamable $sgpr8_sgpr9_sgpr10_sgpr11 = S_LOAD_DWORDX4_IMM renamable $sgpr6_sgpr7, 16, 026    $m0 = S_MOV_B32 killed renamable $sgpr427    dead renamable $sgpr0 = KILL undef renamable $sgpr228    renamable $vgpr0 = V_INTERP_MOV_F32 2, 0, 0, implicit $mode, implicit $m0, implicit $exec29    renamable $sgpr0 = S_MOV_B32 030 31    S_ENDPGM 032 33...34