1; RUN: llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck %s 2 3; Check that we do not assume any default stack size for PAL code object 4; indirect calls. The driver knows the max recursion depth, so it can compute 5; a more accurate value. 6 7; CHECK: ScratchSize: 0 8; CHECK: scratch_memory_size: 0 9define amdgpu_vs void @test() { 10.entry: 11 %0 = call i64 @llvm.amdgcn.s.getpc() 12 %1 = inttoptr i64 %0 to ptr 13 call amdgpu_gfx void %1() 14 ret void 15} 16 17declare i64 @llvm.amdgcn.s.getpc() 18