Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cover RSP-indexed accesses in frame optimization
Summary: Add a new dataflow analysis to recover the value of RSP at a given point of the program. This value is expressed as an offset from the CFA. Use this information to detect redundant load in memory accesses performed via RSP as well, not only RBP as done previously. Bail when RSP value (as an offset of the CFA) can't be reliably determined with a simple dataflow analysis. (cherry picked from FBD4372261)
- Loading branch information