[PATCH] D82713: Improve stack object printing.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 11:56:36 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineFrameInfo.cpp:213
void MachineFrameInfo::print(const MachineFunction &MF, raw_ostream &OS) const{
- if (Objects.empty()) return;
-
+ OS << "MF name: " << MF.getName() << "\n";
+ if (Objects.empty()) {
----------------
I think this should be removed
================
Comment at: llvm/lib/CodeGen/MachineFrameInfo.cpp:243
if (i < NumFixedObjects)
- OS << ", fixed";
+ OS << ", fixed objects:";
if (i < NumFixedObjects || SO.SPOffset != -1) {
----------------
Don't see how this is an improvement
================
Comment at: llvm/lib/CodeGen/MachineFrameInfo.cpp:253
}
+ OS << "isSplitSplot=" << static_cast<bool>(SO.isSpillSlot) << ", ";
OS << "\n";
----------------
[spill] present or not maybe?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82713/new/
https://reviews.llvm.org/D82713
More information about the llvm-commits
mailing list