Enable peephole optimizations for aarch64.
Also small code refactoring - add PeepholeOpts under Peepholes class.
Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei
Paths
| Differential D118732
[BOLT] Add aarch64 support for peephole passes ClosedPublic Authored by yota9 on Feb 1 2022, 1:04 PM.
Details Summary Enable peephole optimizations for aarch64. Vladislav Khmelevsky,
Diff Detail
Event Timeline
Comment Actions LGTM. Please re-submit this to re-run the pre-merge check that failed, as it is now fixed. This revision is now accepted and ready to land.Feb 7 2022, 3:44 PM Closed by commit rG19fb5a210dc0: [BOLT] Add aarch64 support for peephole passes (authored by yota9). · Explain WhyFeb 7 2022, 4:13 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 406645 bolt/include/bolt/Passes/BinaryPasses.h
bolt/lib/Passes/BinaryPasses.cpp
bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
bolt/test/AArch64/double_jump.cpp
bolt/test/AArch64/tailcall_traps.s
bolt/test/X86/Inputs/double_jump.cpp
|
Do you want to change this into ènum class?