[PATCH] D151916: [DAG] Peek through trunc when combining select into shifts.

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 13:53:47 PDT 2023


deadalnix updated this revision to Diff 533385.
deadalnix added a comment.

Use countMaxActiveBits


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151916

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/X86/dagcombine-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151916.533385.patch
Type: text/x-patch
Size: 4538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230621/51b3ce2f/attachment.bin>


More information about the llvm-commits mailing list