Open shiltian opened 1 day ago
; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 small.ll %s -o - define amdgpu_kernel void @kernel() { entry: call void @callee1() ret void } define void @callee1() #0 { entry: call void @callee2() ret void } define void @callee2() #0 { entry: call void @callee1() ret void } attributes #0 = { noinline }
The crash is because of stack overflow.
evaluateAsRelocatable -> evaluateAsRelocatableImpl -> evaluateAsRelocatableImpl -> evaluateAsRelocatable -> ...
@llvm/issue-subscribers-backend-amdgpu
Author: Shilei Tian (shiltian)
Duplicate. This is fixed by #112251
The crash is because of stack overflow.
evaluateAsRelocatable -> evaluateAsRelocatableImpl -> evaluateAsRelocatableImpl -> evaluateAsRelocatable -> ...