[PATCH] D114950: [RISCV] Promote large integers to constant pool

wangpc via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 13 18:44:58 PST 2021


pcwang-thead added a comment.

In D114950#3189796 <https://reviews.llvm.org/D114950#3189796>, @craig.topper wrote:

> Do we have a test case that shows the bug @asb found with "zero" previously? I skimmed the tests but I might have missed it.

`CodeGen/RISCV/srem-vector-lkk.ll` and `CodeGen/RISCV/urem-vector-lkk.ll` generated such codes, so I think there is no need to add extra tests as these two have covered this case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114950



More information about the llvm-commits mailing list