This is an archive of the discontinued LLVM Phabricator instance.

clang-cl: Support the /fp options (PR23112)
ClosedPublic

Authored by hans on Apr 8 2015, 3:47 PM.

Details

Summary

This hooks up the /fp options as aliases for -f[no-]fast-math and -f[no]-trapping-math. It probably doesn't match cl.exe's behaviour completely, but hopefully it's close enough.

Diff Detail

Event Timeline

hans updated this revision to Diff 23448.Apr 8 2015, 3:47 PM
hans retitled this revision from to clang-cl: Support the /fp options (PR23112).
hans updated this object.
hans edited the test plan for this revision. (Show Details)
hans added a reviewer: majnemer.
hans added subscribers: hansw, Unknown Object (MLST).
majnemer accepted this revision.Apr 8 2015, 3:51 PM
majnemer edited edge metadata.

LGTM, this is as close as LLVM is going to get to MSVC's behavior.

This revision is now accepted and ready to land.Apr 8 2015, 3:51 PM
This revision was automatically updated to reflect the committed changes.