HomePhabricator

[Targets] Move soft-float-abi filtering to `initFeatureMap`

Authored by george.burgess.iv on Jun 13 2019, 5:35 PM.

Description

[Targets] Move soft-float-abi filtering to initFeatureMap

ARM has a special target feature called soft-float-abi. This feature is
special, since we get it passed to us explicitly in the frontend, but
filter it out before it can land in any target feature strings in LLVM
IR.

attribute((target(""))) doesn't quite filter these features out
properly, so today, we get warnings about soft-float-abi being an
unknown feature from the backend.

This CL has us filter soft-float-abi out at a slightly different point,
so we don't end up passing these invalid features to the backend.

Differential Revision: https://reviews.llvm.org/D61750

llvm-svn: 363346

Details

Committed
george.burgess.ivJun 13 2019, 5:35 PM
Differential Revision
D61750: [Targets] Move soft-float-abi filtering to `initFeatureMap`
Parents
rGcafccd7a5347: [AMDGPU] gfx1011/gfx1012 clang support
Branches
Unknown
Tags
Unknown