"clang/lib/GR/Checkers/CMakeLists.txt" did not exist on "134a236a142ef2ad44a40f2694c60243e439407a"
ARM: allow jump tables to be placed as constant islands.
Previously, they were forced to immediately follow the actual branch instruction. This was usually OK (the LEAs actually accessing them got emitted nearby, and weren't usually separated much afterwards). Unfortunately, a sufficiently nasty phi elimination dumps many instructions right before the basic block terminator, and this can increase the range too much. This patch frees them up to be placed as usual by the constant islands pass, and consequently has to slightly modify the form of TBB/TBH tables to refer to a PC-relative label at the final jump. The other jump table formats were already position-independent. rdar://20813304 llvm-svn: 237590
Loading
Please register or sign in to comment