[llvm] r200152 - Follow up of r200095. Code clean up.
Evan Cheng
evan.cheng at apple.com
Sun Jan 26 10:30:14 PST 2014
Author: evancheng
Date: Sun Jan 26 12:30:13 2014
New Revision: 200152
URL: http://llvm.org/viewvc/llvm-project?rev=200152&view=rev
Log:
Follow up of r200095. Code clean up.
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=200152&r1=200151&r2=200152&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp Sun Jan 26 12:30:13 2014
@@ -107,7 +107,7 @@ ARMBaseRegisterInfo::getThisReturnPreser
if (CC == CallingConv::GHC)
// This is academic becase all GHC calls are (supposed to be) tail calls
return NULL;
- return (STI.isTargetIOS() && !STI.isAAPCS_ABI())
+ return STI.isTargetIOS()
? CSR_iOS_ThisReturn_RegMask : CSR_AAPCS_ThisReturn_RegMask;
}
More information about the llvm-commits
mailing list