]> granicus.if.org Git - llvm/commit
[DAGCombine] visitFDIV - Use isCheaperToUseNegatedFPOps helper for (fdiv (fneg X...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 12 Sep 2019 11:03:09 +0000 (11:03 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 12 Sep 2019 11:03:09 +0000 (11:03 +0000)
commit22f2f6974c6030a565bd4275924b3253183eee04
tree391c92c6c7d59b6189c0bd1473d5aaee71d9ddaa
parenta8e37d1bbbaee96405454bf970e30416a3c2125d
[DAGCombine] visitFDIV - Use isCheaperToUseNegatedFPOps helper for (fdiv (fneg X), (fneg Y)) -> (fdiv X, Y). NFCI.

Minor cleanup to use equivalent helper code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371724 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp