This is an archive of the discontinued LLVM Phabricator instance.

Fix for lost FastMathFlags in Reassociate optimization
ClosedPublic

Authored by v_klochkov on Nov 22 2016, 12:07 AM.

Details

Summary

Hello,

Please review the fix for lost fast-math flags in Reassociate optimization.

If the input expression tree is made of FP MULs and FastMathFlags permit re-association, then the FastMathFlags must be propagated to the newly generated MUL expression tree.

Thank you,
Vyacheslav Klochkov

Diff Detail

Repository
rL LLVM

Event Timeline

v_klochkov retitled this revision from to Fix for lost FastMathFlags in Reassociate optimization.
v_klochkov updated this object.
hfinkel accepted this revision.Nov 22 2016, 5:33 AM
hfinkel added a reviewer: hfinkel.
hfinkel added a subscriber: hfinkel.

LGTM

This revision is now accepted and ready to land.Nov 22 2016, 5:33 AM
This revision was automatically updated to reflect the committed changes.