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

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 06:43:25 PST 2022


yota9 created this revision.
yota9 added reviewers: maksfb, rafauler, Amir.
Herald added a subscriber: ayermolo.
yota9 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Currently this pass is useless since the cfg-normalization pass contains
this functionality.
Also this patch refactors peephole options enum by placing it Peepholes class.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118364

Files:
  bolt/include/bolt/Passes/BinaryPasses.h
  bolt/lib/Passes/BinaryPasses.cpp
  bolt/test/AArch64/useless-cond-branch.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118364.403636.patch
Type: text/x-patch
Size: 5623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/ccd21bd5/attachment.bin>


More information about the llvm-commits mailing list