1; RUN: llc < %s -march=amdgcn -mcpu=kaveri -verify-machineinstrs | FileCheck %s --check-prefix=GCN --check-prefix=CI 2; RUN: llc < %s -march=amdgcn -mcpu=fiji -verify-machineinstrs | FileCheck %s --check-prefix=GCN --check-prefix=VI 3 4; GCN-LABEL: {{^}}no_vcc_no_flat: 5; GCN: ; NumSgprs: 8 6define void @no_vcc_no_flat() { 7entry: 8 call void asm sideeffect "", "~{SGPR7}"() 9 ret void 10} 11 12; GCN-LABEL: {{^}}vcc_no_flat: 13; GCN: ; NumSgprs: 10 14define void @vcc_no_flat() { 15entry: 16 call void asm sideeffect "", "~{SGPR7},~{VCC}"() 17 ret void 18} 19 20; GCN-LABEL: {{^}}no_vcc_flat: 21; CI: ; NumSgprs: 12 22; VI: ; NumSgprs: 14 23define void @no_vcc_flat() { 24entry: 25 call void asm sideeffect "", "~{SGPR7},~{FLAT_SCR}"() 26 ret void 27} 28 29; GCN-LABEL: {{^}}vcc_flat: 30; CI: ; NumSgprs: 12 31; VI: ; NumSgprs: 14 32define void @vcc_flat() { 33entry: 34 call void asm sideeffect "", "~{SGPR7},~{VCC},~{FLAT_SCR}"() 35 ret void 36} 37