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

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 06:02:02 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:13255
-  return (Known.Zero | 1).isAllOnes();
-}
-
----------------
Please can you move this as an NFC pre-commit and then rebase the patch? Just to show that there are no changes to the logic in isTruncateOf.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151916



More information about the llvm-commits mailing list