brintos

brintos / llvm-project-archived public Read only

0
0
Text · 480 B · 90faebd Raw
21 lines · plain
1# RUN: llc -mtriple=amdgcn -verify-machineinstrs -run-pass si-insert-waitcnts -o - %s | FileCheck %s2 3# Check that a trivial soft waitcnt at the end of a block is deleted even if it4# is followed by a meta instruction.5 6# CHECK-LABEL: name: waitcnt-no-redundant7# CHECK: S_WAITCNT 08# CHECK: S_MOV_B329# CHECK-NOT: S_WAITCNT10 11---12name: waitcnt-no-redundant13body: |14  bb.1:15    S_WAITCNT_soft 5311916    $sgpr2 = S_MOV_B32 4217    S_WAITCNT_soft 5311918    $vgpr2 = IMPLICIT_DEF19 20...21