[all-commits] [llvm/llvm-project] 27944b: [Attributor][FIX] Avoid deleting (internal) librar...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Jan 12 01:17:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27944bbbe7ade95ed38b147583fe6392d8d19f5c
      https://github.com/llvm/llvm-project/commit/27944bbbe7ade95ed38b147583fe6392d8d19f5c
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    A llvm/test/Transforms/OpenMP/dead_lib_func.ll

  Log Message:
  -----------
  [Attributor][FIX] Avoid deleting (internal) library functions

In CGSCC mode we cannot delete internal library functions, esp.
__kmpc_alloc_shared, or we trigger an assertion. While the assertion is
probably too narrow, we avoid deleting those unused functions for now to
unblock the AMDGPU buildbot.




More information about the All-commits mailing list