[PATCH] D102398: [RISCV] Optimize or/xor with immediate in Zbs extension

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 16 17:38:25 PDT 2021


benshi001 added a comment.

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

> LGTM. Do you plan to do this for BCLR as well?
>
> Can we use ORI+BSETI if there is one bit set in bits 63:11 and multiple bits in bits 10:0?

Thanks for your suggestion. I will do them in other patches. BTW, could you please also approve https://reviews.llvm.org/D102396 ?

Current patch depends on it.


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

https://reviews.llvm.org/D102398



More information about the llvm-commits mailing list