[PATCH] D118364: [BOLT] Remove peephole useless-branches pass

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 21:36:07 PST 2022


Amir added a comment.

In D118364#3280931 <https://reviews.llvm.org/D118364#3280931>, @yota9 wrote:

> Call fixBranches in fixDoubleJumps.
> @Amir could you please check the test? I think it shold be identical now :)

No, it's still not matching.
I've used the script in D118516 <https://reviews.llvm.org/D118516> to test it (cherry-pick it and move under this diff):

- in repo: checkout this diff (D118364 <https://reviews.llvm.org/D118364>)
- in BOLT build directory: invoke `python3 <llvm-project>/bolt/utils/nfc-check-setup.py --run_sequentially`
- run the test: `bin/llvm-lit -a tools/bolttests/X86/clang.test` (no need to run the binary)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118364/new/

https://reviews.llvm.org/D118364



More information about the llvm-commits mailing list