diff --git a/llvm/lib/Target/AMDGPU/SILowerWWMCopies.cpp b/llvm/lib/Target/AMDGPU/SILowerWWMCopies.cpp --- a/llvm/lib/Target/AMDGPU/SILowerWWMCopies.cpp +++ b/llvm/lib/Target/AMDGPU/SILowerWWMCopies.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // /// \file -/// Lowering the WWM_COPY instructions for various register classes. +/// Lowering the WWM_COPY instructions for various register classes. /// AMDGPU target generates WWM_COPY instruction to differentiate WWM /// copy from COPY. This pass generates the necessary exec mask manipulation /// instructions to replicate 'Whole Wave Mode' and lowers WWM_COPY back to @@ -40,9 +40,7 @@ bool runOnMachineFunction(MachineFunction &MF) override; - StringRef getPassName() const override { - return "SI Lower WWM Copies"; - } + StringRef getPassName() const override { return "SI Lower WWM Copies"; } void getAnalysisUsage(AnalysisUsage &AU) const override { AU.setPreservesAll(); @@ -63,12 +61,12 @@ } // End anonymous namespace. -INITIALIZE_PASS_BEGIN(SILowerWWMCopies, DEBUG_TYPE, - "SI Lower WWM Copies", false, false) +INITIALIZE_PASS_BEGIN(SILowerWWMCopies, DEBUG_TYPE, "SI Lower WWM Copies", + false, false) INITIALIZE_PASS_DEPENDENCY(LiveIntervals) INITIALIZE_PASS_DEPENDENCY(VirtRegMap) -INITIALIZE_PASS_END(SILowerWWMCopies, DEBUG_TYPE, - "SI Lower WWM Copies", false, false) +INITIALIZE_PASS_END(SILowerWWMCopies, DEBUG_TYPE, "SI Lower WWM Copies", false, + false) char SILowerWWMCopies::ID = 0; @@ -88,8 +86,7 @@ // If \p Reg is assigned with a physical VGPR, add the latter into wwm-spills // for preserving its entire lanes at function prolog/epilog. -void SILowerWWMCopies::addToWWMSpills(MachineFunction &MF, - Register Reg) { +void SILowerWWMCopies::addToWWMSpills(MachineFunction &MF, Register Reg) { if (Reg.isPhysical()) return;