This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add -mavx2 together with -mfma to allow clang pre-12 to generate fma instructions.
ClosedPublic

Authored by lntue on Feb 2 2023, 5:08 PM.

Details

Summary

For clang-11, having -mfma without -mavx2 does not generate fma
instructions, causing a build bot to fail on log10_test.

Diff Detail

Event Timeline

lntue created this revision.Feb 2 2023, 5:08 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 2 2023, 5:08 PM
lntue requested review of this revision.Feb 2 2023, 5:08 PM
sivachandra accepted this revision.Feb 3 2023, 11:32 AM
This revision is now accepted and ready to land.Feb 3 2023, 11:32 AM