aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/MIR/AMDGPU/killed-flag-on-def-parse-error.mir
blob: 2b082cd53fe44ee6cae5a7aba6dc7406c47526f7 (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:

    ; CHECK: [[@LINE+1]]:23: cannot have a killed def operand
    killed %0:sgpr_32 = S_MOV_B32 0
    S_ENDPGM 0

...