This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Pass -fexperimental-strict-floating-point to cc1 if it is specified
AbandonedPublic

Authored by Jim on Mar 19 2021, 12:26 AM.

Details

Reviewers
kpn
Summary

In my case, it has to enable strict floating-point by driver for default unsupported target.

Diff Detail

Event Timeline

Jim requested review of this revision.Mar 19 2021, 12:26 AM
Jim created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2021, 12:26 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kpn added a comment.Mar 19 2021, 10:45 AM

Test case?

Isn't OPT_fexperimental_strict_floating_point marked as a CC1Option in Options.td. Can the driver even recognize it?

Can you use -Xclang -fexperimental-strict-floating-point for your use case?

Jim abandoned this revision.Mar 21 2021, 10:16 PM

Isn't OPT_fexperimental_strict_floating_point marked as a CC1Option in Options.td. Can the driver even recognize it?

Can you use -Xclang -fexperimental-strict-floating-point for your use case?

Hi, Thanks your suggestion, I would use -Xclang -fexperimental-strict-floating-point for my test case.