[FastISel] Don't transform FSUB(-0, X) -> FNEG(X) in FastISel
authorCameron McInally <mcinally@cray.com>
Tue, 4 Aug 2020 19:26:23 +0000 (14:26 -0500)
committerCameron McInally <mcinally@cray.com>
Tue, 4 Aug 2020 19:42:53 +0000 (14:42 -0500)
commit0f2b47b6da0be5e5a597a274bd5c2ae18cc406bd
tree86a1e6ea757b24777019a8cce150034d109eb58a
parent6d218b4adb093ff2e9764febbbc89f429412006c
[FastISel] Don't transform FSUB(-0, X) -> FNEG(X) in FastISel

This corresponds with the SelectionDAGISel change in D84056.

Also, rename some poorly named tests in CodeGen/X86/fast-isel-fneg.ll with NFC.

Differential Revision: https://reviews.llvm.org/D85149
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-fneg-kill.ll [deleted file]
llvm/test/CodeGen/X86/fast-isel-fneg.ll