[all-commits] [llvm/llvm-project] ec7a5b: [Option] Mark getLastArg(NoClaim) as noinline. (#...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Sep 16 13:52:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec7a5b4028d192bf1f674554ffd2cfab5ae31412
      https://github.com/llvm/llvm-project/commit/ec7a5b4028d192bf1f674554ffd2cfab5ae31412
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M llvm/include/llvm/Option/ArgList.h

  Log Message:
  -----------
  [Option] Mark getLastArg(NoClaim) as noinline.  (#157163)

After https://github.com/llvm/llvm-project/pull/156730,
getLastArg(NoClaim) are now just below the inlining threshold and
inlining them causes +0.44% code size increase for Clang and a
corresponding compile-time increase without helping compile-time.

Mark them as noinline to recover the original codesize.


http://llvm-compile-time-tracker.com/compare.php?from=a271d07488a85ce677674bbe8101b10efff58c95&to=3b7b312476da2a2b1fd44815532edf9987da337e&stat=instructions:u

PR: https://github.com/llvm/llvm-project/pull/157163



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