aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/MIR/AMDGPU/dead-flag-on-use-operand-parse-error.mir
blob: ae4093f849720aa07886b774bc42f8f72883c991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -run-pass=none %s -o /dev/null 2>&1 | FileCheck %s
---
name:            foo
tracksRegLiveness: true
body:             |
  bb.0:

    %0:sgpr_32 = S_MOV_B32 0
    ; CHECK: [[@LINE+1]]:24: cannot have a dead use operand
    S_ENDPGM 0, dead %0

...