[PATCH] D34409: Use 64bit jump table with large code model on 64bit

Yichao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 09:45:35 PDT 2017


yuyichao created this revision.
Herald added subscribers: javed.absar, nemanjai.

The data and code segments can be more than 32bit apart so the offset needs to be 64bit in size.


https://reviews.llvm.org/D34409

Files:
  include/llvm/CodeGen/MIRYamlMapping.h
  include/llvm/CodeGen/MachineJumpTableInfo.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/MachineFunction.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  test/CodeGen/AArch64/jumptable-large.ll
  test/CodeGen/PowerPC/jumptable-large.ll
  test/CodeGen/X86/jumptable-large.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34409.103226.patch
Type: text/x-patch
Size: 12009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170620/abf2bbcb/attachment.bin>


More information about the llvm-commits mailing list