[llvm] 26d575e - LocalStackSlotAllocation: Combine debug printing statements
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 06:31:22 PDT 2022
Author: Matt Arsenault
Date: 2022-04-20T09:31:14-04:00
New Revision: 26d575eb0839c326b26a78c60d76c01f1cdc0a2f
URL: https://github.com/llvm/llvm-project/commit/26d575eb0839c326b26a78c60d76c01f1cdc0a2f
DIFF: https://github.com/llvm/llvm-project/commit/26d575eb0839c326b26a78c60d76c01f1cdc0a2f.diff
LOG: LocalStackSlotAllocation: Combine debug printing statements
Added:
Modified:
llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp b/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
index afebc17322472..aaacacff119dd 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
More information about the llvm-commits
mailing list