Have ARMBaseRegisterInfo::getCallPreservedMask return the 'correct' mask for the...
authorStephen Lin <stephenwlin@gmail.com>
Wed, 3 Jul 2013 23:39:13 +0000 (23:39 +0000)
committerStephen Lin <stephenwlin@gmail.com>
Wed, 3 Jul 2013 23:39:13 +0000 (23:39 +0000)
commit8dc042dcbdd15f9b9add9392a8c29d873af4d833
treee36ceff4be8f135b618838e750bc5f00cd32cd0e
parenta7437f02279194a2c2800df3777a8843f0485ba9
Have ARMBaseRegisterInfo::getCallPreservedMask return the 'correct' mask for the GHC calling convention.

This is purely academic because GHC calls are always tail calls so the register mask will never be used; however, this change makes the code clearer and brings the ARM implementation of the GHC calling convention in line with the X86 implementation. Also, it might save someone else some time trying to figuring out what is happening...

llvm-svn: 185592
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
llvm/lib/Target/ARM/ARMCallingConv.td