================ @@ -88,7 +88,7 @@ define internal void @HelperC() { ret void } -define amdgpu_kernel void @C() { +define weak_odr amdgpu_kernel void @C() { ---------------- arsenm wrote: Test both cases https://github.com/llvm/llvm-project/pull/116280