[PATCH] D122454: [RISCV] (and (not (srl X, C)), 1) to (sltiu (andi X, 2 << C), 1) when Zbs extension disable

LiqinWeng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 23:59:41 PDT 2022


Miss_Grape added a comment.

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

> I just put up an alternative that gets the same codegen https://reviews.llvm.org/D122458  I did not limit to cases where Zbs is disabled. It needs more testing.

OK, I will discard this Merge Requst。


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122454



More information about the llvm-commits mailing list