[PATCH] D130765: [DAG] Turn a wider range of select of constants into math

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 09:06:57 PDT 2022


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

Fix CodeGen/PowerPC/nofpexcept.ll

Ressurect `select Cond, Pow2, 0 --> (zext Cond) << log2(Pow2)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130765

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
  llvm/test/CodeGen/PowerPC/nofpexcept.ll
  llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
  llvm/test/CodeGen/PowerPC/pr49509.ll
  llvm/test/CodeGen/PowerPC/pzero-fp-xored.ll
  llvm/test/CodeGen/PowerPC/select_const.ll
  llvm/test/CodeGen/X86/select.ll
  llvm/test/CodeGen/X86/zext-sext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130765.448654.patch
Type: text/x-patch
Size: 15355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220729/5bd05e53/attachment.bin>


More information about the llvm-commits mailing list