This is an archive of the discontinued LLVM Phabricator instance.

DAGCombiner: Allow negating ConstantFP after legalize
ClosedPublic

Authored by arsenm on Jan 12 2017, 12:26 PM.

Details

Diff Detail

Event Timeline

arsenm updated this revision to Diff 84165.Jan 12 2017, 12:26 PM
arsenm retitled this revision from to DAGCombiner: Allow negating ConstantFP after legalize.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
hfinkel accepted this revision.Jan 24 2017, 4:59 PM
hfinkel added a subscriber: hfinkel.

Comment needs to be reworded (I provided a suggestion). Otherwise, LGTM.

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
614

// Don't invert constant FP values after legalization unless the target says the negated constant is legal.

This revision is now accepted and ready to land.Jan 24 2017, 4:59 PM
arsenm closed this revision.Jan 24 2017, 9:05 PM
arsenm marked an inline comment as done.

r293019