This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add ADD_FMA_FLAG macro to add -mfma flag to functions that requires it.
ClosedPublic

Authored by lntue on Dec 10 2021, 8:05 PM.

Details

Summary

Add ADD_FMA_FLAG macro to add -mfma flag to functions that requires it.

Diff Detail

Event Timeline

lntue created this revision.Dec 10 2021, 8:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 10 2021, 8:05 PM
lntue requested review of this revision.Dec 10 2021, 8:05 PM
sivachandra accepted this revision.Dec 10 2021, 9:21 PM
sivachandra added inline comments.
libc/src/__support/architectures.h
41

Nit: s/ADD_FMA_FLAG/INLINE_FMA

This revision is now accepted and ready to land.Dec 10 2021, 9:21 PM
lntue updated this revision to Diff 393692.Dec 11 2021, 1:16 PM
lntue marked an inline comment as done.

[libc] Add INLINE_FMA macro to add -mfma flag to functions that requires it.