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)
commit62da588a2eb70166e1b6cc332d8084f03117dc12
tree9f063531739d5b0497d0a97bafdfc9051ede345d
parent7c2f3e8944717239b6031ebc778de4547e1449e2
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...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185592 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/ARMCallingConv.td