[llvm] r232513 - [ARM] Fix offset calculation in ARMBaseRegisterInfo::needsFrameBaseReg
Joerg Sonnenberger
joerg at britannica.bec.de
Tue Mar 17 12:48:59 PDT 2015
On Tue, Mar 17, 2015 at 06:20:47PM -0000, Richard Barton wrote:
> Author: rbarton
> Date: Tue Mar 17 13:20:47 2015
> New Revision: 232513
>
> URL: http://llvm.org/viewvc/llvm-project?rev=232513&view=rev
> Log:
> [ARM] Fix offset calculation in ARMBaseRegisterInfo::needsFrameBaseReg
>
> The input offset to needsFrameBaseReg is a negative value below the top of the
> stack frame, but when converting to a positive offset from the bottom of the
> stack frame this value was negated, causing the final offset to be too large
> by twice the input offset's magnitude. Fix that by not negating the offset.
Should this be merged into the 3.6 branch?
Joerg
More information about the llvm-commits
mailing list