This is an archive of the discontinued LLVM Phabricator instance.

[FPEnv] Change test to conform to strictfp attribute rules
ClosedPublic

Authored by kpn on Oct 9 2019, 9:31 AM.

Details

Summary

This test does not conform to the new strictfp attribute rules. In particular, the function definition is not marked strictfp despite containing a function marked strictfp. Also, if any function call is marked strictfp then all function calls in that function must be marked.

This change to move the one strictfp call to a new properly marked function meets all the new rules.

Diff Detail

Event Timeline

kpn created this revision.Oct 9 2019, 9:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 9 2019, 9:31 AM
spatel accepted this revision.Oct 9 2019, 10:05 AM

LGTM - you may want to annotate the title with 'NFC' when committing to indicate this patch doesn't actually change code.

As discussed off-list, we have other release-versioned binary test files for compatibility, and I'm not sure yet how that will be handled.

This revision is now accepted and ready to land.Oct 9 2019, 10:05 AM
This revision was automatically updated to reflect the committed changes.