[llvm] r310742 - [mips] clang-format MipsSubtarget.cpp.
John Baldwin via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 11:35:19 PDT 2017
Author: jhb
Date: Fri Aug 11 11:35:19 2017
New Revision: 310742
URL: http://llvm.org/viewvc/llvm-project?rev=310742&view=rev
Log:
[mips] clang-format MipsSubtarget.cpp.
This only fixes a few things and serves as my initial test commit.
Modified:
llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp?rev=310742&r1=310741&r2=310742&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsSubtarget.cpp Fri Aug 11 11:35:19 2017
@@ -57,7 +57,7 @@ static cl::opt<bool>
GPOpt("mgpopt", cl::Hidden,
cl::desc("Enable gp-relative addressing of mips small data items"));
-void MipsSubtarget::anchor() { }
+void MipsSubtarget::anchor() {}
MipsSubtarget::MipsSubtarget(const Triple &TT, StringRef CPU, StringRef FS,
bool little, const MipsTargetMachine &TM)
@@ -136,8 +136,8 @@ bool MipsSubtarget::enablePostRASchedule
void MipsSubtarget::getCriticalPathRCs(RegClassVector &CriticalPathRCs) const {
CriticalPathRCs.clear();
- CriticalPathRCs.push_back(isGP64bit() ?
- &Mips::GPR64RegClass : &Mips::GPR32RegClass);
+ CriticalPathRCs.push_back(isGP64bit() ? &Mips::GPR64RegClass
+ : &Mips::GPR32RegClass);
}
CodeGenOpt::Level MipsSubtarget::getOptLevelToEnablePostRAScheduler() const {
More information about the llvm-commits
mailing list