[all-commits] [llvm/llvm-project] f22ac1: [DAGCombiner] reassociate reciprocal sqrt expressi...

RotateRight via All-commits all-commits at lists.llvm.org
Sat Aug 8 08:10:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f22ac1d15b1b3c8e890cad4aa126a8239bec61f7
      https://github.com/llvm/llvm-project/commit/f22ac1d15b1b3c8e890cad4aa126a8239bec61f7
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-08-08 (Sat, 08 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/sqrt-fastmath.ll

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list