[all-commits] [llvm/llvm-project] 5ac261: [BOLT][NFC] Warning for deprecated option '-reorde...

Huan Nguyen via All-commits all-commits at lists.llvm.org
Fri Jun 3 14:17:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ac26156fee704bb688ac537c9b93ac926dbbfc9
      https://github.com/llvm/llvm-project/commit/5ac26156fee704bb688ac537c9b93ac926dbbfc9
  Author: Huan Nguyen <nhuhuan at yahoo.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
    M bolt/include/bolt/Passes/BinaryPasses.h
    M bolt/lib/Passes/BinaryPasses.cpp
    A bolt/test/cache+-deprecated.test

  Log Message:
  -----------
  [BOLT][NFC] Warning for deprecated option '-reorder-blocks=cache+'

Emit warning when using deprecated option '-reorder-blocks=cache+'.
Auto switch to option '-reorder-blocks=ext-tsp'.

Test Plan:
```
ninja check-bolt
```
Added a new test cache+-deprecated.test.
Run and verify that the upstream tests are passed.

Reviewed By: rafauler, Amir, maksfb

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




More information about the All-commits mailing list