[PATCH] D122051: [RISCV] The immediate version of sgt lowering to slti + xori

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 18:18:44 PDT 2022


craig.topper added a comment.

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

> In D122051#3393725 <https://reviews.llvm.org/D122051#3393725>, @jrtc27 wrote:
>
>> There's a whole set of these you could do; why this one in particular? And what about it makes it RV32-specific?
>
> Agreed, I'd at least expect the same for setugt.

Though I guess that requires a special case for the discontinuity around 0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122051



More information about the llvm-commits mailing list