[PATCH] D132653: [LoongArch] Support lowering br_jt

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 20:22:32 PDT 2022


xen0n added a comment.

In D132653#3750820 <https://reviews.llvm.org/D132653#3750820>, @SixWeining wrote:

> LGTM. Thanks!
> In future maybe we should set the minimum number of entries to use a jump table according to benchmark.

Of course. RISCV uses 5 but they didn't provide justification for the choice, we could initially use 5 too but revisit this once benchmark data is ready.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132653



More information about the llvm-commits mailing list