diff options
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ModuloSchedule.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/ModuloSchedule.cpp b/llvm/lib/CodeGen/ModuloSchedule.cpp index 99c82bc..414c8cd 100644 --- a/llvm/lib/CodeGen/ModuloSchedule.cpp +++ b/llvm/lib/CodeGen/ModuloSchedule.cpp @@ -2693,8 +2693,7 @@ void ModuloScheduleExpanderMVE::expand() { /// Check if ModuloScheduleExpanderMVE can be applied to L bool ModuloScheduleExpanderMVE::canApply(MachineLoop &L) { if (!L.getExitBlock()) { - LLVM_DEBUG( - dbgs() << "Can not apply MVE expander: No single exit block.\n";); + LLVM_DEBUG(dbgs() << "Can not apply MVE expander: No single exit block.\n"); return false; } @@ -2711,9 +2710,8 @@ bool ModuloScheduleExpanderMVE::canApply(MachineLoop &L) { if (MO.isReg()) for (MachineInstr &Ref : MRI.use_instructions(MO.getReg())) if (Ref.getParent() != BB || Ref.isPHI()) { - LLVM_DEBUG(dbgs() - << "Can not apply MVE expander: A phi result is " - "referenced outside of the loop or by phi.\n";); + LLVM_DEBUG(dbgs() << "Can not apply MVE expander: A phi result is " + "referenced outside of the loop or by phi.\n"); return false; } @@ -2726,12 +2724,12 @@ bool ModuloScheduleExpanderMVE::canApply(MachineLoop &L) { MRI.getVRegDef(LoopVal)->getParent() != BB) { LLVM_DEBUG( dbgs() << "Can not apply MVE expander: A phi source value coming " - "from the loop is not defined in the loop.\n";); + "from the loop is not defined in the loop.\n"); return false; } if (UsedByPhi.count(LoopVal)) { LLVM_DEBUG(dbgs() << "Can not apply MVE expander: A value defined in the " - "loop is referenced by two or more phis.\n";); + "loop is referenced by two or more phis.\n"); return false; } UsedByPhi.insert(LoopVal); |