[PATCH] D158159: [RISCV] Use software guarded branch for indirect branch to jump table.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 02:06:03 PDT 2023


fakepaper56 created this revision.
fakepaper56 added reviewers: craig.topper, reames, frasercrmck, rogfer01, kito-cheng, jrtc27.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
fakepaper56 requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

When Zicfilp enabled, indirect branch to jump table should be a software guarded
branch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158159

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVRegisterInfo.td
  llvm/test/CodeGen/RISCV/jumptable-swguarded.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158159.551050.patch
Type: text/x-patch
Size: 8319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230817/33f8fa86/attachment.bin>


More information about the llvm-commits mailing list