This is an archive of the discontinued LLVM Phabricator instance.

[Driver][ARM] Disable unsupported features when nofp arch extension is used
AbandonedPublic

Authored by vhscampos on Jul 1 2020, 4:25 AM.

Details

Reviewers
None
Summary

A list of target features is disabled when there is no hardware
floating-point support. This is the case when one of the following
options is passed to clang:

  • -mfloat-abi=soft
  • -mfpu=none

This option list is missing, however, the extension "+nofp" that can be
specified in -march flags, such as "-march=armv8-a+nofp".

This patch also disables unsupported target features when nofp is passed
to -march.

Diff Detail

Event Timeline

vhscampos created this revision.Jul 1 2020, 4:25 AM
vhscampos abandoned this revision.Jul 1 2020, 4:26 AM