diff options
author | Puyan Lotfi <puyan@puyan.org> | 2019-12-09 14:54:09 -0500 |
---|---|---|
committer | Puyan Lotfi <puyan@puyan.org> | 2019-12-09 23:35:27 -0500 |
commit | 479e3b85e27b8bb0c6978138da54adaa91e703d8 (patch) | |
tree | 39d0491c0e08cf04fa1a6a2f79baf7b6570d2c45 /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | 78a7af456dbb8c43ab4f4616c14a78716a7c5d84 (diff) | |
download | llvm-479e3b85e27b8bb0c6978138da54adaa91e703d8.zip llvm-479e3b85e27b8bb0c6978138da54adaa91e703d8.tar.gz llvm-479e3b85e27b8bb0c6978138da54adaa91e703d8.tar.bz2 |
[NFCi][llvm][MIRVRegNamerUtils] Making some code cleanup and stylistic changes.
Making some changes to MIRVRegNamerUtils.cpp to use some more modern c++
features as well as some changes to generally make the code more concise
and more understandable.
I make this an NFCi because in one case I drop the whole
"if (!MO->isDef()) MO->setIsKill(false);" thing that was added in the
original implementation, generally because I don't think this is really
semantically sound. I also changed up the implementation of
VRegRenamer::createVirtualRegisterWithLowerName somewhat because I am
now lower-casing the name unconditionally because I confirmed that that
was in fact aditya_nandakumar@apple.com's intent.
In all other cases, behavior should not be changed.
Differential Revision: https://reviews.llvm.org/D71182
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions