[PATCH] D154868: [DAGCombiner] Extend `combineFMulOrFDivWithIntPow2` to work for non-splat float vecs

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 16:20:38 PDT 2023


goldstein.w.n updated this revision to Diff 539327.
goldstein.w.n added a comment.

Instead of variant, just add wrapper version that accepts sdnode


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154868

Files:
  llvm/include/llvm/CodeGen/SelectionDAGNodes.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154868.539327.patch
Type: text/x-patch
Size: 10067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/17058634/attachment.bin>


More information about the llvm-commits mailing list