[PATCH] D116435: [RISCV] Generate 32 bits jumptable entries when code model is small

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 6 04:17:13 PST 2022


asb accepted this revision.
asb added a comment.
This revision is now accepted and ready to land.

LGTM. It doesn't make much practical difference, but I wonder if gating the getJumpTableEncoding case on RV64 (as well as your other preconditions) might make sense - as the default EK_BlockAddress lowering is equivalent in that case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116435/new/

https://reviews.llvm.org/D116435



More information about the llvm-commits mailing list