From 3a1a95180034cf4ec74b5331475e48c404994d00 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 11 Aug 2017 18:35:19 +0000 Subject: [PATCH] [mips] clang-format MipsSubtarget.cpp. This only fixes a few things and serves as my initial test commit. llvm-svn: 310742 --- llvm/lib/Target/Mips/MipsSubtarget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/Mips/MipsSubtarget.cpp b/llvm/lib/Target/Mips/MipsSubtarget.cpp index eba21e0a1c67..e160eac30d82 100644 --- a/llvm/lib/Target/Mips/MipsSubtarget.cpp +++ b/llvm/lib/Target/Mips/MipsSubtarget.cpp @@ -57,7 +57,7 @@ static cl::opt 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 {