This is an archive of the discontinued LLVM Phabricator instance.

Propagate fmf for setcc/select folds
ClosedPublic

Authored by mcberg2017 on May 28 2019, 3:30 PM.

Details

Summary

This change facilitates propagating fmf which was placed on setcc from fcmp through folds with selects so that back ends can model this path for arithmetic folds on selects in SDAG.

Diff Detail

Event Timeline

mcberg2017 created this revision.May 28 2019, 3:30 PM
qcolombet accepted this revision.Jun 3 2019, 11:22 AM

LGTM.

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
7878

Nit: Period at the end of sentences.

This revision is now accepted and ready to land.Jun 3 2019, 11:22 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2019, 12:09 PM