[PATCH] D32564: AArch64: compress jump tables to minimum size needed to reach destinations

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 24 07:21:23 PDT 2018


t.p.northover updated this revision to Diff 166652.
t.p.northover added a comment.

Tidy-ups suggested by JF, and (also JF's idea) switch to an offset from the lowest-addressed basic-block instead of the actual branch to increase the number of candidates.


Repository:
  rL LLVM

https://reviews.llvm.org/D32564

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/AArch64.h
  llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
  llvm/lib/Target/AArch64/AArch64CompressJumpTables.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/CMakeLists.txt
  llvm/test/CodeGen/AArch64/O3-pipeline.ll
  llvm/test/CodeGen/AArch64/jump-table-compress.mir
  llvm/test/CodeGen/AArch64/jump-table.ll
  llvm/test/CodeGen/AArch64/min-jump-table.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32564.166652.patch
Type: text/x-patch
Size: 35238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180924/792bfa96/attachment.bin>


More information about the llvm-commits mailing list