[PATCH] D123983: [RISCV] Fold (xor (sllw 1, x), -1) -> (rolw ~1, x).

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 15:05:05 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6db0afb44e13: [RISCV] Fold (xor (sllw 1, x), -1) -> (rolw ~1, x). (authored by craig.topper).

Changed prior to commit:
  https://reviews.llvm.org/D123983?vs=423538&id=423745#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123983

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rv32zbb-zbp-zbkb.ll
  llvm/test/CodeGen/RISCV/rv64zbb-zbp-zbkb.ll
  llvm/test/CodeGen/RISCV/sextw-removal.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123983.423745.patch
Type: text/x-patch
Size: 5845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220419/e96c39f5/attachment.bin>


More information about the llvm-commits mailing list