[all-commits] [llvm/llvm-project] 60957a: [BOLT] Fix ICPJumpTablesTopN option use

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue May 3 19:34:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60957a5a08a5d24589595e9b5945571ceef6fd70
      https://github.com/llvm/llvm-project/commit/60957a5a08a5d24589595e9b5945571ceef6fd70
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

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

  Log Message:
  -----------
  [BOLT] Fix ICPJumpTablesTopN option use

Fix non-sensical `opts::ICPJumpTablesTopN != 0 ? opts::ICPTopN : opts::ICPTopN`.
Refactor/simplify another similar assignment.

Reviewed By: rafauler

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




More information about the All-commits mailing list