[all-commits] [llvm/llvm-project] 83ad90: [AMDGPU] Fix module split's assumption on kernels

Siu Chi Chan via All-commits all-commits at lists.llvm.org
Fri Dec 6 14:57:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83ad90d851f9e32a51d56193125ab596cc3636b6
      https://github.com/llvm/llvm-project/commit/83ad90d851f9e32a51d56193125ab596cc3636b6
  Author: Siu Chi Chan <siuchi.chan at amd.com>
  Date:   2024-12-06 (Fri, 06 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
    A llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging-weak_odr.ll

  Log Message:
  -----------
  [AMDGPU] Fix module split's assumption on kernels

Module split assumes that a kernel function must have an external
linkage; however, that isn't the case.  For example, a static kernel
function will have a weak_odr linkage

Change-Id: I1e5dee0de1fd866b365f4090a574e1b2961f8dca



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list