[llvm] r185016 - Minor formatting fix to ARMBaseRegisterInfo::getCalleeSavedRegs
Stephen Lin
stephenwlin at gmail.com
Wed Jun 26 13:19:06 PDT 2013
Author: stephenwlin
Date: Wed Jun 26 15:19:06 2013
New Revision: 185016
URL: http://llvm.org/viewvc/llvm-project?rev=185016&view=rev
Log:
Minor formatting fix to ARMBaseRegisterInfo::getCalleeSavedRegs
Modified:
llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp?rev=185016&r1=185015&r2=185016&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp Wed Jun 26 15:19:06 2013
@@ -58,13 +58,11 @@ ARMBaseRegisterInfo::getCalleeSavedRegs(
ghcCall = (F ? F->getCallingConv() == CallingConv::GHC : false);
}
- if (ghcCall) {
- return CSR_GHC_SaveList;
- }
- else {
- return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
- ? CSR_iOS_SaveList : CSR_AAPCS_SaveList;
- }
+ if (ghcCall)
+ return CSR_GHC_SaveList;
+ else
+ return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
+ ? CSR_iOS_SaveList : CSR_AAPCS_SaveList;
}
const uint32_t*
More information about the llvm-commits
mailing list