Use the appropriate register class for an i32 when adding ARM::LR to the
authorJim Grosbach <grosbach@apple.com>
Fri, 23 Jul 2010 23:50:35 +0000 (23:50 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 23 Jul 2010 23:50:35 +0000 (23:50 +0000)
commitc2723a57f35dd69bd261faaa71ee7aa05f40a87d
tree21dd1b3b849065d65078ae359f1e39942f7d6b03
parent734738d3bdbb98454a4c517252ef694cd95f4cb6
Use the appropriate register class for an i32 when adding ARM::LR to the
function live in set. This will give us tGPR for Thumb1 and GPR otherwise,
so the copy will be spillable. rdar://8224931

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