[llvm] [AMDGPU] Fix module split's assumption on kernels (PR #116280)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 13:13:50 PST 2024


================
@@ -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


More information about the llvm-commits mailing list