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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 16 12:14:20 PDT 2021


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

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?


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

https://reviews.llvm.org/D102398



More information about the llvm-commits mailing list