[all-commits] [llvm/llvm-project] eaab73: [CIR] Correct the behavior of 'shouldEmitFunction'...

Erich Keane via All-commits all-commits at lists.llvm.org
Mon Sep 21 12:11:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaab73d4bbaafa471f2216d58172126d2fd7c2b6
      https://github.com/llvm/llvm-project/commit/eaab73d4bbaafa471f2216d58172126d2fd7c2b6
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    A clang/test/CIR/CodeGen/noinline-available-externally-skip.cpp

  Log Message:
  -----------
  [CIR] Correct the behavior of 'shouldEmitFunction' with always/noinline (#224378)

These attributes modified the linkage of functions in certain cases that
caused us to, ironically, skip emitting something when we picked it up
via PCH during self-build. This patch just copies/pastes the code from
classic codegen.



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