mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Print SSA and liveness tracking flags in MF::print().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153518 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80799fbe3c
commit
1f141684cf
@ -284,7 +284,13 @@ void MachineFunction::dump() const {
|
||||
}
|
||||
|
||||
void MachineFunction::print(raw_ostream &OS, SlotIndexes *Indexes) const {
|
||||
OS << "# Machine code for function " << Fn->getName() << ":\n";
|
||||
OS << "# Machine code for function " << Fn->getName() << ": ";
|
||||
if (RegInfo) {
|
||||
OS << (RegInfo->isSSA() ? "SSA" : "Post SSA");
|
||||
if (!RegInfo->tracksLiveness())
|
||||
OS << ", not tracking liveness";
|
||||
}
|
||||
OS << '\n';
|
||||
|
||||
// Print Frame Information
|
||||
FrameInfo->print(*this, OS);
|
||||
|
Loading…
Reference in New Issue
Block a user