[mips] clang-format MipsSubtarget.cpp.

This only fixes a few things and serves as my initial test commit.

llvm-svn: 310742
This commit is contained in:
John Baldwin 2017-08-11 18:35:19 +00:00
parent fd6c89dc36
commit 3a1a951800
1 changed files with 3 additions and 3 deletions

View File

@ -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::enablePostRAScheduler() const { return true; }
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 {