brintos

brintos / llvm-project-archived public Read only

0
0
Text · 956 B · c24b92d Raw
30 lines · plain
1# REQUIRES: amdgpu-registered-target2# RUN: llvm-reduce -simplify-mir --delta-passes=instructions -mtriple=amdgcn-amd-amdhsa --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log3# RUN: FileCheck --check-prefix=RESULT %s < %t4 5# CHECK-INTERESTINGNESS: V_MOV_B32_e32 $vgpr06# CHECK-INTERESTINGNESS: S_NOP 07 8# The block liveins list needs to be carried through even though this9# tracksRegLiveness is false10 11# RESULT: bb.0:12# RESULT-NEXT: liveins: $vgpr0, $vgpr1_vgpr213# RESULT: %0:vgpr_32 = V_MOV_B32_e32 $vgpr0, implicit $exec14# RESULT-NEXT: S_NOP 015# RESULT-NEXT: S_ENDPGM 0, implicit %0, implicit %016 17---18name: func19tracksRegLiveness: false20body:             |21  bb.0:22    liveins: $vgpr0, $vgpr1_vgpr223    S_WAITCNT 024    %0:vgpr_32 = V_MOV_B32_e32 $vgpr0, implicit $exec25    %1:vgpr_32 = V_MOV_B32_e32 $vgpr1, implicit $exec26    S_NOP 027    S_ENDPGM 0, implicit %0, implicit %128...29 30