[PATCH] D116720: [RISCV] Use shift for zext.h when Zbb and Zbp are not enabled

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 5 20:13:14 PST 2022


craig.topper added a comment.

The AND could be better for loops if LICM can move the constant materialization out of the loop.

I’ve wondered about doing this as a machine IR peephole after LICM has its chance. But I haven’t spent any time on it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116720



More information about the llvm-commits mailing list