diff options
author | Qunyan Mangus <qumangus@microsoft.com> | 2022-05-23 12:48:06 -0700 |
---|---|---|
committer | Stella Stamenova <stilis@microsoft.com> | 2022-05-23 13:08:25 -0700 |
commit | 12bae5f3e2d2f1a95f33cb22149d5d5642389eae (patch) | |
tree | 37fbae3ecc1daa7a06a6ad6cd3c70cf9fde839ad /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp | |
parent | 217531f12b4b97dadb80c66ab97c71e57ae0adcf (diff) | |
download | llvm-12bae5f3e2d2f1a95f33cb22149d5d5642389eae.zip llvm-12bae5f3e2d2f1a95f33cb22149d5d5642389eae.tar.gz llvm-12bae5f3e2d2f1a95f33cb22149d5d5642389eae.tar.bz2 |
Remove duplicate fields in RAGreedy
RAGreedy has two fields of RegisterClassInfo, one called RCI and another RegClassInfo from its base class.
RCI is initialized without freezeReservedRegs first, while RegClassInfo does. Therefore, if reserved registers
information is changed between last time freezeReservedRegs is called and RAGreedy, it's not picked up by RCI.
Instead of having both fields in RAGreedy, remove RCI and use RegClassInfo instead. Also removed is the TRI field
which is present in its base class.
Reviewed By: MatzeB
Differential Revision: https://reviews.llvm.org/D125926
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions