[PATCH] D26779: Use 32bit jump table entries for AArch64
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 17:22:58 PST 2016
joerg created this revision.
joerg added a reviewer: t.p.northover.
joerg added a subscriber: llvm-commits.
joerg set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.
AArch64 currently uses 64bit jump table entries for non-PIC mode. With this patch, it will use the same encoding for small/medium code models as the current PIC mode does. For other (larger) code models, the function itself is used as relocation base.
Repository:
rL LLVM
https://reviews.llvm.org/D26779
Files:
lib/Target/AArch64/AArch64AsmPrinter.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
lib/Target/AArch64/AArch64MachineFunctionInfo.h
test/CodeGen/AArch64/jump-table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26779.78295.patch
Type: text/x-patch
Size: 9679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161117/497077c3/attachment.bin>
More information about the llvm-commits
mailing list