diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-04-20 09:15:23 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-04-20 09:31:14 -0400 |
commit | 26d575eb0839c326b26a78c60d76c01f1cdc0a2f (patch) | |
tree | 959410b21dd6be9e981edbd57fcfd68fc62f8398 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 4575f35ea15c71006593d7ae4a7ba731e5065793 (diff) | |
download | llvm-26d575eb0839c326b26a78c60d76c01f1cdc0a2f.zip llvm-26d575eb0839c326b26a78c60d76c01f1cdc0a2f.tar.gz llvm-26d575eb0839c326b26a78c60d76c01f1cdc0a2f.tar.bz2 |
LocalStackSlotAllocation: Combine debug printing statements
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp index afebc17..aaacacf 100644 --- a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp +++ b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp @@ -414,16 +414,14 @@ bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) { continue; } - LLVM_DEBUG(dbgs() << " Materializing base register" - << " at frame local offset " - << LocalOffset + InstrOffset); - // Tell the target to insert the instruction to initialize // the base register. // MachineBasicBlock::iterator InsertionPt = Entry->begin(); BaseReg = TRI->materializeFrameBaseRegister(Entry, FrameIdx, InstrOffset); - LLVM_DEBUG(dbgs() << " into " << printReg(BaseReg, TRI) << '\n'); + LLVM_DEBUG(dbgs() << " Materialized base register at frame local offset " + << LocalOffset + InstrOffset + << " into " << printReg(BaseReg, TRI) << '\n'); // The base register already includes any offset specified // by the instruction, so account for that so it doesn't get |