[PATCH] D48430: [RISCV] Add support for lowering jumptables

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 07:02:52 PDT 2018


asb created this revision.
asb added reviewers: shiva0217, apazos, sameer.abuasal, mgrang.
Herald added subscribers: rogfer01, edward-jones, zzheng, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar.

Previously, the generation of jumptables was disabled. This patch adds the necessary support, as reflected in the updated output in test/CodeGen/RISCV/jumptable.ll.


https://reviews.llvm.org/D48430

Files:
  lib/Target/RISCV/RISCVISelLowering.cpp
  lib/Target/RISCV/RISCVISelLowering.h
  lib/Target/RISCV/RISCVMCInstLower.cpp
  test/CodeGen/RISCV/jumptable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48430.152291.patch
Type: text/x-patch
Size: 5227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/3848e539/attachment.bin>


More information about the llvm-commits mailing list