Correctly constrain a register class when computing frame offsets, as the Thumb2
authorCameron Zwarich <zwarich@apple.com>
Thu, 19 May 2011 02:18:27 +0000 (02:18 +0000)
committerCameron Zwarich <zwarich@apple.com>
Thu, 19 May 2011 02:18:27 +0000 (02:18 +0000)
commit21803721d538255e4d223c29b6c8d3c9e93d4d86
tree3adf0d148cf00b8af7cd2e10fb984df4a0dc5fee
parent6fcb6e454b08c5e5aaed125860b01bc08dc6cc49
Correctly constrain a register class when computing frame offsets, as the Thumb2
add instruction takes an rGPR. This fixes the last of PR8825.

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