[PATCH] D107603: [RISCV] Fold (add (select lhs, rhs, cc, 0, y), x) -> (select lhs, rhs, cc, x, (add x, y))

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 09:03:33 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6f5edc348794: [RISCV] Fold (add (select lhs, rhs, cc, 0, y), x) -> (select lhs, rhs, cc, x… (authored by craig.topper).

Changed prior to commit:
  https://reviews.llvm.org/D107603?vs=364912&id=365498#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107603

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rv32zbs.ll
  llvm/test/CodeGen/RISCV/select-binop-identity.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107603.365498.patch
Type: text/x-patch
Size: 12386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210810/abcbe497/attachment.bin>


More information about the llvm-commits mailing list