forked from OSchip/llvm-project
[NFC][RUIP] Small debug output refine
Add a new line, so that we always print MI in a new line, before and after UpdateRegMask, for easier check..
This commit is contained in:
parent
49e5a97ec3
commit
816ad48c82
|
@ -118,8 +118,8 @@ bool RegUsageInfoPropagation::runOnMachineFunction(MachineFunction &MF) {
|
|||
continue;
|
||||
LLVM_DEBUG(
|
||||
dbgs()
|
||||
<< "Call Instruction Before Register Usage Info Propagation : \n");
|
||||
LLVM_DEBUG(dbgs() << MI << "\n");
|
||||
<< "Call Instruction Before Register Usage Info Propagation : \n"
|
||||
<< MI << "\n");
|
||||
|
||||
auto UpdateRegMask = [&](const Function &F) {
|
||||
const ArrayRef<uint32_t> RegMask = PRUI->getRegUsageInfo(F);
|
||||
|
@ -140,8 +140,9 @@ bool RegUsageInfoPropagation::runOnMachineFunction(MachineFunction &MF) {
|
|||
}
|
||||
|
||||
LLVM_DEBUG(
|
||||
dbgs() << "Call Instruction After Register Usage Info Propagation : "
|
||||
<< MI << '\n');
|
||||
dbgs()
|
||||
<< "Call Instruction After Register Usage Info Propagation : \n"
|
||||
<< MI << '\n');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
; REQUIRES: asserts
|
||||
;
|
||||
; DBG: fun1 function optimized for not having CSR
|
||||
; DBG: Call Instruction After Register Usage Info Propagation : CallBRASL @fun1{{.*}} $r14d $r15d
|
||||
; DBG: Call Instruction After Register Usage Info Propagation :
|
||||
; DBG-NEXT: CallBRASL @fun1{{.*}} $r14d $r15d
|
||||
|
||||
declare dso_local fastcc signext i32 @foo(i16*, i32 signext) unnamed_addr
|
||||
|
||||
|
|
Loading…
Reference in New Issue