aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-05-31 19:22:07 +0000
committerTim Northover <tnorthover@apple.com>2015-05-31 19:22:07 +0000
commita603c4076cae935b49d736819cacefd7c04c80c6 (patch)
tree4d5251817eed945c27274af94dfbcfd8e2cb1739 /llvm/lib/Object/ObjectFile.cpp
parentd21b00bd7cc9088772660a46f9e5c81594fa9aaf (diff)
downloadllvm-a603c4076cae935b49d736819cacefd7c04c80c6.zip
llvm-a603c4076cae935b49d736819cacefd7c04c80c6.tar.gz
llvm-a603c4076cae935b49d736819cacefd7c04c80c6.tar.bz2
ARM: recommit r237590: allow jump tables to be placed as constant islands.
The original version didn't properly account for the base register being modified before the final jump, so caused miscompilations in Chromium and LLVM. I've fixed this and tested with an LLVM self-host (I don't have the means to build & test Chromium). The general idea remains the same: in pathological cases jump tables can be too far away from the instructions referencing them (like other constants) so they need to be movable. Should fix PR23627. llvm-svn: 238680
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions