[PATCH] D50800: [ARM] Use correct jump table sizes
Phillip Raffeck via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 15 13:04:52 PDT 2018
praffeck created this revision.
praffeck added a reviewer: eli.friedman.
praffeck created this object with visibility "All Users".
Herald added a reviewer: javed.absar.
Herald added subscribers: llvm-commits, chrib, kristof.beyls.
This patch ensures that the jump table sizes are represented correctly (as entries can be words, halfwords or bytes), both during the initial placement and after subsequent shrinking. As the resulting smaller tables may make some far branches unnecessary, far branches are checked again,after all tables are placced and optimized.
Repository:
rL LLVM
https://reviews.llvm.org/D50800
Files:
lib/Target/ARM/ARMConstantIslandPass.cpp
test/CodeGen/ARM/jump-table-size.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50800.160890.patch
Type: text/x-patch
Size: 17070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180815/f61b9a57/attachment.bin>
More information about the llvm-commits
mailing list