[PATCH] D152675: [DAGCombine] Use `IsKnownNeverZero` to see if we need zero-check in is_pow2 setcc patern

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 11:53:04 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5c8188c7bc52: [DAGCombine] Use `IsKnownNeverZero` to see if we need zero-check in is_pow2… (authored by goldstein.w.n).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152675

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/X86/ispow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152675.530623.patch
Type: text/x-patch
Size: 5757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230612/840d7729/attachment.bin>


More information about the llvm-commits mailing list