[PATCH] D87286: AArch64: make sure jump table entries can reach entire image

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 06:59:38 PDT 2020


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

Decided shifting 32-bit entries was pointless and possibly suboptimal, so skip it. Also noticed that the `resize` could truncate the `SmallVector` so guarded against that and added test.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87286/new/

https://reviews.llvm.org/D87286

Files:
  llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
  llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
  llvm/test/CodeGen/AArch64/jump-table-exynos.ll
  llvm/test/CodeGen/AArch64/jump-table.ll
  llvm/test/CodeGen/AArch64/win64-jumptable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87286.290964.patch
Type: text/x-patch
Size: 12755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200910/00076c76/attachment-0001.bin>


More information about the llvm-commits mailing list