1; RUN: llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < %s | FileCheck %s 2 3; CallGraphAnalysis, which CodeGenSCC order depends on, does not look 4; through aliases. If GlobalOpt is never run, we do not see direct 5; calls, 6 7@alias2 = hidden alias void (), void()* @aliasee_vgpr64_sgpr102 8 9; CHECK-LABEL: {{^}}kernel2: 10; CHECK: .amdhsa_next_free_vgpr 53 11; CHECK-NEXT: .amdhsa_next_free_sgpr 33 12define amdgpu_kernel void @kernel2() #0 { 13bb: 14 call void @alias2() #2 15 ret void 16} 17 18define internal void @aliasee_vgpr64_sgpr102() #1 { 19bb: 20 call void asm sideeffect "; clobber v52 ", "~{v52}"() 21 ret void 22} 23 24attributes #0 = { noinline norecurse nounwind optnone } 25attributes #1 = { noinline norecurse nounwind readnone willreturn "amdgpu-waves-per-eu"="4,10" } 26attributes #2 = { nounwind readnone willreturn } 27