[PATCH] D91785: [VE] Change threshold for jump table generation

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 05:02:24 PST 2020


kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added subscribers: llvm-commits, hiraditya.
kaz7 requested review of this revision.

Implement getMinimumJumpTableEntries() to specify threshold for jump
table genaration.  We use 8 for the case of PIC mode to relieve the
impact of PIC calculation required to implement PIC mode jump table.
Update jump table regression test also.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91785

Files:
  llvm/lib/Target/VE/VEISelLowering.cpp
  llvm/lib/Target/VE/VEISelLowering.h
  llvm/test/CodeGen/VE/Scalar/br_jt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91785.306375.patch
Type: text/x-patch
Size: 27959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/5b572939/attachment-0001.bin>


More information about the llvm-commits mailing list