This is an archive of the discontinued LLVM Phabricator instance.

Don't pass FPOpFusion::Strict to the backend
ClosedPublic

Authored by anemet on Apr 20 2017, 9:54 AM.

Details

Summary

This restores the behavior prior to D31167 where the code-gen default was
FPC_On which mapped to FPOpFusion::Standard. After merging the FE
state (on/off) and the code-gen state (on/fast/off), the default became off to
match the front-end.

In other words, the front-end controls when to fuse along the language
standards and the backend shouldn't override this by splitting fused
intrinsics as FPOpFusion::Strict would imply.

Diff Detail

Repository
rL LLVM

Event Timeline

anemet created this revision.Apr 20 2017, 9:54 AM
This revision is now accepted and ready to land.Apr 20 2017, 10:00 AM
This revision was automatically updated to reflect the committed changes.