[ARM] Add knowledge of FPU subtarget features to TargetParser
authorJohn Brawn <john.brawn@arm.com>
Fri, 5 Jun 2015 13:29:24 +0000 (13:29 +0000)
committerJohn Brawn <john.brawn@arm.com>
Fri, 5 Jun 2015 13:29:24 +0000 (13:29 +0000)
commitc1c9bc1df7a69ac896b5ccbd6f6b91ef91716839
treefe05e7a78895def0ce69de0e4a31191a08628b6f
parentb4435accd56d8b3dae9ff0f6188dfb6ee29ff854
[ARM] Add knowledge of FPU subtarget features to TargetParser

Add getFPUFeatures to TargetParser, which gets the list of subtarget features
that are enabled/disabled for each FPU, and use it when handling the .fpu
directive.

No functional change in this commit, though clang will start behaving
differently once it starts using this.

Differential Revision: http://reviews.llvm.org/D10237

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239150 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSubtargetInfo.h
include/llvm/MC/SubtargetFeature.h
include/llvm/Support/TargetParser.h
lib/MC/MCSubtargetInfo.cpp
lib/MC/SubtargetFeature.cpp
lib/Support/TargetParser.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp