[PATCH] D41029: [JumpTables][PowerPC] Let targets decide which switch instructions are suitable for jump tables

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 12:29:44 PST 2017


nemanjai updated this revision to Diff 126194.
nemanjai added a comment.

Early exit if the target independent version determines the switch isn't suitable for a jump table anyway.


Repository:
  rL LLVM

https://reviews.llvm.org/D41029

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  test/CodeGen/PowerPC/NoJTsDueToCTRUse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41029.126194.patch
Type: text/x-patch
Size: 19624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171208/9d7f81f8/attachment.bin>


More information about the llvm-commits mailing list