This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Disabling vfp4 should disable fp16
ClosedPublic

Authored by john.brawn on Jun 11 2015, 10:35 AM.

Details

Summary

ARMTargetParser::getFPUFeatures should disable fp16 whenever it disables vfp4, as otherwise something like -mcpu=cortex-a7 -mfpu=none leaves us with fp16 enabled (though the only effect that will have is a wrong build attribute).

Diff Detail

Repository
rL LLVM

Event Timeline

john.brawn retitled this revision from to [ARM] Disabling vfp4 should disable fp16.
john.brawn updated this object.
john.brawn edited the test plan for this revision. (Show Details)
john.brawn added a reviewer: rengolin.
john.brawn set the repository for this revision to rL LLVM.
john.brawn added a subscriber: Unknown Object (MLST).
rengolin accepted this revision.Jun 11 2015, 3:57 PM
rengolin edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 11 2015, 3:57 PM
This revision was automatically updated to reflect the committed changes.