Changes

Summary

  1. [x86] add tests for another reciprocal sqrt pattern; NFC (details)
  2. [DAGCombiner] reassociate reciprocal sqrt expression to eliminate FP division, part 2 (details)
Commit ba4c214181d193ae00b91d2aa6e53da829560fdb by spatel
[x86] add tests for another reciprocal sqrt pattern; NFC
The file was modifiedllvm/test/CodeGen/X86/sqrt-fastmath.ll
Commit f22ac1d15b1b3c8e890cad4aa126a8239bec61f7 by spatel
[DAGCombiner] reassociate reciprocal sqrt expression to eliminate FP division, part 2

Follow-up to D82716 / rGea71ba11ab11
We do not have the fabs removal fold in IR yet for the case
where the sqrt operand is repeated, so that's another potential
improvement.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/sqrt-fastmath.ll