[PATCH] D26578: Introduce TLI predicative for base-relative Jump Tables

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 12 05:32:18 PST 2016


joerg created this revision.
joerg added a reviewer: bogner.
joerg added a subscriber: llvm-commits.
joerg set the repository for this revision to rL LLVM.

For 64bit ABIs it is common practice to use relative Jump Tables with potentially different relocation bases.
As the logic for the jump itself doesn't depend on the relocation base, make it easier for targets to use the generic logic.
Start by dropping the now redundant MIPS logic.


Repository:
  rL LLVM

https://reviews.llvm.org/D26578

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26578.77718.patch
Type: text/x-patch
Size: 4630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161112/e8d7d3da/attachment.bin>


More information about the llvm-commits mailing list