[PATCH] D21127: Remove redundant FMUL in Newton-Raphson SQRT code

Nikolai Bozhenov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 04:14:03 PDT 2016


n.bozhenov updated this revision to Diff 60661.
n.bozhenov added a comment.

Ok, I added tests to check MIR output after instruction selection for
X86 with two refinement steps and with FMA enabled. These seem to cover
all the cases not covered previously.


http://reviews.llvm.org/D21127

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/sqrt-fastmath-mir.ll
  test/CodeGen/X86/sqrt-fastmath.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21127.60661.patch
Type: text/x-patch
Size: 15138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160614/c6ea64fd/attachment.bin>


More information about the llvm-commits mailing list