[all-commits] [llvm/llvm-project] 0d477f: [BOLT][NFC] Add aliases for ICP flags

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Jun 27 10:37:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d477f63b0eaaa940c74f683fa7d4ceaf9c426a5
      https://github.com/llvm/llvm-project/commit/0d477f63b0eaaa940c74f683fa7d4ceaf9c426a5
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M bolt/lib/Core/BinaryFunctionProfile.cpp
    M bolt/lib/Passes/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [BOLT][NFC] Add aliases for ICP flags

- `indirect-call-promotion` -> `icp`
- `indirect-call-promotion-mispredict-threshold` -> `icp-mp-threshold`
- `indirect-call-promotion-use-mispredicts` -> `icp-use-mp`
- `indirect-call-promotion-topn` -> `icp-topn`
- `indirect-call-promotion-calls-topn` -> `icp-calls-topn`
- `indirect-call-promotion-jump-tables-topn` -> `icp-jt-topn`
- `icp-jump-table-targets` -> `icp-jt-targets`

This also fixes an inconsistency in ICP flag names that some start with
`indirect-call-promotion` while others start with `icp`.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D128375




More information about the All-commits mailing list