aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRichard Barton <richard.barton@arm.com>2015-03-17 18:20:47 +0000
committerRichard Barton <richard.barton@arm.com>2015-03-17 18:20:47 +0000
commit30934c09260b7bffa0866c0062d0614907b2c279 (patch)
tree968fd181749f761322f010521636d9523ece607b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent7fe22f66d073d30de7be26b91bc4d64deaa46ec9 (diff)
downloadllvm-30934c09260b7bffa0866c0062d0614907b2c279.zip
llvm-30934c09260b7bffa0866c0062d0614907b2c279.tar.gz
llvm-30934c09260b7bffa0866c0062d0614907b2c279.tar.bz2
[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. Patch by John Brawn Differential Revision: http://reviews.llvm.org/D8316 llvm-svn: 232513
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions