diff options
| author | George Burgess IV <george.burgess.iv@gmail.com> | 2019-06-14 00:35:17 +0000 |
|---|---|---|
| committer | George Burgess IV <george.burgess.iv@gmail.com> | 2019-06-14 00:35:17 +0000 |
| commit | a577b1192b8dfc546afca827ddba87c006d9286a (patch) | |
| tree | 350575aeee34d49c3bb015b3023ad442f84eb248 /lib/CodeGen/CGExprAgg.cpp | |
| parent | 53e77edaa7dbbef981a45f512c5252260a993c57 (diff) | |
| download | clang-a577b1192b8dfc546afca827ddba87c006d9286a.tar.gz | |
[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
