aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AMDGPU/reject-agpr-usage-before-gfx908.ll
blob: 6737fdc3cdf62166bde139a2f2d1dcea1ee0f14f (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llc -mtriple=amdgcn -mcpu=gfx900 < %s 2>&1 | FileCheck -check-prefixes=GCN %s
; RUN: not llc -mtriple=amdgcn -mcpu=gfx906 < %s 2>&1 | FileCheck -check-prefixes=GCN %s

; GCN:     couldn't allocate input reg for constraint 'a'

define amdgpu_kernel void @used_1a() {
  call void asm sideeffect "", "a"(i32 1)
  ret void
}