[PATCH] D25212: Add support to tune jump tables
Evandro Menezes via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 14:54:46 PDT 2016
evandro created this revision.
evandro added reviewers: hans, t.p.northover.
evandro added subscribers: spop, llvm-commits.
evandro set the repository for this revision to rL LLVM.
This patch considers a minimum limit that a target may set to the number of destination addresses in a jump table, as well as, when some conditions are equal, whether a jump table should be split in smaller jump tables or lengthen the if-then-else chain to handle remaining cases.
Repository:
rL LLVM
https://reviews.llvm.org/D25212
Files:
llvm/include/llvm/Target/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64Subtarget.cpp
llvm/lib/Target/AArch64/AArch64Subtarget.h
llvm/test/CodeGen/AArch64/max-jump-table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25212.73347.patch
Type: text/x-patch
Size: 10342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161003/87b60851/attachment.bin>
More information about the llvm-commits
mailing list