1; RUN: not llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefixes=GCN %s
2; RUN: not llc -march=amdgcn -mcpu=gfx906 -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefixes=GCN %s
3
4; GCN:     couldn't allocate input reg for constraint 'a'
5
6define amdgpu_kernel void @used_1a() {
7  call void asm sideeffect "", "a"(i32 1)
8  ret void
9}
10