llvm/bolt/lib
Rafael Auler a3cfdd746e [BOLT] Increase coverage of shrink wrapping [5/5]
Add -experimental-shrink-wrapping flag to control when we
want to move callee-saved registers even when addresses of the stack
frame are captured and used in pointer arithmetic, making it more
challenging to do alias analysis to prove that we do not access
optimized stack positions. This alias analysis is not yet implemented,
hence, it is experimental. In practice, though, no compiler would emit
code to do pointer arithmetic to access a saved callee-saved register
unless there is a memory bug or we are failing to identify a
callee-saved reg, so I'm not sure how useful it would be to formally
prove that.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D126115
2022-07-11 17:30:13 -07:00
..
Core [BOLT] Increase coverage of shrink wrapping [1/5] 2022-07-11 17:29:22 -07:00
Passes [BOLT] Increase coverage of shrink wrapping [5/5] 2022-07-11 17:30:13 -07:00
Profile [BOLT][NFC] Use range-based STL wrappers 2022-06-23 22:16:27 -07:00
Rewrite Revert "Rebase: [Facebook] Revert "[BOLT] Update dynamic relocations from section relocations"" 2022-07-11 09:50:47 -07:00
RuntimeLibs [BOLT][NFC] Use range-based STL wrappers 2022-06-23 22:16:27 -07:00
Target [BOLT] Increase coverage of shrink wrapping [5/5] 2022-07-11 17:30:13 -07:00
Utils [BOLT] Increase coverage of shrink wrapping [3/5] 2022-07-11 17:30:00 -07:00
CMakeLists.txt