[PATCH] D109076: [RISCV] Use GPRNoX0 for source register to WriteSysReg/SwapSysReg pseudo instructions.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 11:34:05 PDT 2021


craig.topper abandoned this revision.
craig.topper added a comment.

In D109076#2977435 <https://reviews.llvm.org/D109076#2977435>, @jrtc27 wrote:

> It's only CSRRS/CSRRC (and their immediate counterparts) that special-case a zero source (whereas it's only CSRRW (and its immediate counterpart) that special-cases a zero destination). So the existing code is fine AFAICT.

Oops. You're right, I misread the table. Thanks. I'll go back to trying to fix vsetvli.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109076



More information about the llvm-commits mailing list