[all-commits] [llvm/llvm-project] 1b79a3: [clang] Add flag to experiment with cold function ...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Fri Apr 19 09:31:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b79a34a56378f5b75fb0abd03bb7029ea1c60ec
      https://github.com/llvm/llvm-project/commit/1b79a34a56378f5b75fb0abd03bb7029ea1c60ec
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    A clang/test/CodeGen/pgo-force-function-attrs.ll

  Log Message:
  -----------
  [clang] Add flag to experiment with cold function attributes (#89298)

To be removed and promoted to a proper driver flag if experiments turn
out fruitful.

For now, this can be experimented with `-mllvm
-pgo-cold-func-opt=[optsize|minsize|optnone|default] -mllvm
-enable-pgo-force-function-attrs`.

Original LLVM patch for this functionality: #69030



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