This patch stops unconditionally transforming FSUB(-0, X) into an FNEG(X) while building the instructions.
This corresponds with the SelectionDAGISel change in D84056.
Paths
| Differential D85149
[FastISel] Don't transform FSUB(-0, X) -> FNEG(X) in FastISel ClosedPublic Authored by cameron.mcinally on Aug 3 2020, 12:37 PM.
Details Summary This patch stops unconditionally transforming FSUB(-0, X) into an FNEG(X) while building the instructions. This corresponds with the SelectionDAGISel change in D84056.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 4 2020, 12:05 PM
Closed by commit rG0f2b47b6da0b: [FastISel] Don't transform FSUB(-0, X) -> FNEG(X) in FastISel (authored by cameron.mcinally). · Explain WhyAug 4 2020, 12:43 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 282700 llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-fneg-kill.ll
llvm/test/CodeGen/X86/fast-isel-fneg.ll
|
The test names here are garbage but that's a preexisting problem