diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-04-07 05:52:39 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-04-07 05:52:39 +0000 |
commit | aa0c91ae818e0b9e7981a42236dededc85997568 (patch) | |
tree | 9fa42fe7dd33b6fcad48918779621165eea4fcfe /lib/Target/ARM/ARMBaseInstrInfo.cpp | |
parent | 41f61ddb5e6282eaf720910a8bb4997e1aca1506 (diff) |
Merging r328341:
------------------------------------------------------------------------
r328341 | apazos | 2018-03-23 10:53:27 -0700 (Fri, 23 Mar 2018) | 16 lines
[ARM] Fix "Constant pool entry out of range!" in Thumb1 mode
This patch fixes PR36658, "Constant pool entry out of range!" in Thumb1 mode.
In ARMConstantIslands::optimizeThumb2JumpTables() in Thumb1 mode,
adjustBBOffsetsAfter() is not calculating postOffset correctly by
properly accounting for the padding that is required for the constant pool
that immediately follows the jump table branch instruction.
Reviewers: t.p.northover, eli.friedman
Reviewed By: t.p.northover
Subscribers: chrib, tstellar, javed.absar, kristof.beyls, llvm-commits
Differential Revision: https://reviews.llvm.org/D44709
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@329487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.cpp')
0 files changed, 0 insertions, 0 deletions