diff options
author | David Green <david.green@arm.com> | 2024-12-16 08:48:57 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2024-12-16 08:48:57 +0000 |
commit | a35db2880a488b62a16f269972ad885fd58033f7 (patch) | |
tree | df8fe6804c79001b1bb8f2642df346d138afac45 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | b4c1f0cc492f1597397dcf0b06b816fa0a2135f1 (diff) | |
download | llvm-a35db2880a488b62a16f269972ad885fd58033f7.zip llvm-a35db2880a488b62a16f269972ad885fd58033f7.tar.gz llvm-a35db2880a488b62a16f269972ad885fd58033f7.tar.bz2 |
[NFC] Remove some unnecessary semicolons
All inside LLVM_DEBUG, some of which have been cleaned up by adding block
scopes to allow them to format more nicely.
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); |