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

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 11:59:30 PDT 2023


deadalnix updated this revision to Diff 527551.
deadalnix added a comment.
Herald added a subscriber: nemanjai.

This causes a regression in CodeGen/PowerPC/select_const.ll (at least in the no isel case).


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/PowerPC/select_const.ll
  llvm/test/CodeGen/X86/dagcombine-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151916.527551.patch
Type: text/x-patch
Size: 5559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230601/3c7dce94/attachment.bin>


More information about the llvm-commits mailing list