[PATCH] D130056: [RISCV] Optimize (SRLI (SLLI GPR:$rs1, 32), 32)

Shao-Ce SUN via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 21:23:45 PDT 2022


sunshaoce abandoned this revision.
sunshaoce added a comment.

In D130056#3661427 <https://reviews.llvm.org/D130056#3661427>, @jrtc27 wrote:

> This is wrong. SRLI (SLLI) will zero-extend, but ADDIW will sign-extend.

Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130056



More information about the llvm-commits mailing list