[PATCH] D145866: [DAG] visitAND - fold (and (any_ext V), c) -> (zero_ext (and (trunc V), c)) if profitable.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 12 06:25:50 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb53ea2b9c5ac: [DAG] visitAND - fold (and (any_ext V), c) -> (zero_ext (and (trunc V), c)) if… (authored by RKSimon).

Changed prior to commit:
  https://reviews.llvm.org/D145866?vs=504419&id=504426#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145866

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
  llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
  llvm/test/CodeGen/AMDGPU/load-global-i16.ll
  llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
  llvm/test/CodeGen/X86/3addr-or.ll
  llvm/test/CodeGen/X86/abdu.ll
  llvm/test/CodeGen/X86/addcarry.ll
  llvm/test/CodeGen/X86/avx512cd-intrinsics-upgrade.ll
  llvm/test/CodeGen/X86/avx512cdvl-intrinsics-upgrade.ll
  llvm/test/CodeGen/X86/avx512fp16-mov.ll
  llvm/test/CodeGen/X86/cmp-concat.ll
  llvm/test/CodeGen/X86/dag-update-nodetomatch.ll
  llvm/test/CodeGen/X86/is_fpclass-fp80.ll
  llvm/test/CodeGen/X86/memset-inline.ll
  llvm/test/CodeGen/X86/memset-nonzero.ll
  llvm/test/CodeGen/X86/memset-vs-memset-inline.ll
  llvm/test/CodeGen/X86/narrow-shl-cst.ll
  llvm/test/CodeGen/X86/pr30562.ll
  llvm/test/CodeGen/X86/pr35763.ll
  llvm/test/CodeGen/X86/subcarry.ll
  llvm/test/CodeGen/X86/switch-phi-const.ll
  llvm/test/CodeGen/X86/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145866.504426.patch
Type: text/x-patch
Size: 126838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230312/f74e95a2/attachment-0001.bin>


More information about the llvm-commits mailing list