[PATCH] D101485: [RISCV] Teach DAG combine to fold (and (select_cc lhs, rhs, cc, -1, c), x) -> (select_cc lhs, rhs, cc, x, (and, x, c))

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 09:47:06 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdcdda2bdf236: [RISCV] Teach DAG combine to fold (and (select_cc lhs, rhs, cc, -1, c), x) ->… (authored by craig.topper).

Changed prior to commit:
  https://reviews.llvm.org/D101485?vs=341305&id=341552#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101485

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101485.341552.patch
Type: text/x-patch
Size: 32690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210429/be7ccab8/attachment.bin>


More information about the llvm-commits mailing list