[PATCH] D61028: [DAGCombiner] scale repeated FP divisor by splat factor

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 10:09:10 PDT 2019


spatel updated this revision to Diff 196481.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
Add a TODO comment about optimizing for size. That's an existing concern even for scalar code. But there may not be a clear answer for optsize because, for example, we may be able to hoist fdiv out of a loop by doing this transform.


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

https://reviews.llvm.org/D61028

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/X86/fdiv-combine-vec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61028.196481.patch
Type: text/x-patch
Size: 4342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190424/5b5fa2db/attachment.bin>


More information about the llvm-commits mailing list