1 ; RUN: llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck %s
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.
7 ; CHECK: ScratchSize: 0
8 ; CHECK: scratch_memory_size: 0
9 define amdgpu_vs void @test() {
11 %0 = call i64 @llvm.amdgcn.s.getpc()
12 %1 = inttoptr i64 %0 to ptr
13 call amdgpu_gfx void %1()
17 declare i64 @llvm.amdgcn.s.getpc()