llvm-project
e971c3ee - [CFIInserter] Improve `CSRSavedLocation` struct. (#168869)

Commit
13 days ago
[CFIInserter] Improve `CSRSavedLocation` struct. (#168869) (1) Define `CSRSavedLocation::Kind` and use it in the code. This makes the code more readable and allows to extend it to new kinds. For example, soon I want to add "scalable offset from a given register" kind. (2) Store the contents in a union. This should reduce memory usage.
Author
Parents
Loading