[PATCH] D125607: [DAG] Fold (shl (srl x, c), c) -> and(x, m) even if srl has other uses

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 05:40:37 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd40b7f0d5aec: [DAG] Fold (shl (srl x, c), c) -> and(x, m) even if srl has other uses (authored by RKSimon).

Changed prior to commit:
  https://reviews.llvm.org/D125607?vs=429444&id=430010#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125607

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
  llvm/test/CodeGen/AMDGPU/load-lo16.ll
  llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll
  llvm/test/CodeGen/ARM/combine-movc-sub.ll
  llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
  llvm/test/CodeGen/RISCV/rvv/insert-subvector.ll
  llvm/test/CodeGen/RISCV/rvv/legalize-load-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/legalize-store-sdnode.ll
  llvm/test/CodeGen/SystemZ/store_nonbytesized_vecs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125607.430010.patch
Type: text/x-patch
Size: 14729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220517/238be602/attachment.bin>


More information about the llvm-commits mailing list