[PATCH] D132839: [RISCV] Optimization for using compressed beqz and bnez PR#56391

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 14:07:29 PDT 2022


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

I guess this is ok. I'm little unsure if this makes sense if the constant has multiple uses, but I also don't think we can reliably identify that in isel.

LGTM


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132839



More information about the llvm-commits mailing list