]> granicus.if.org Git - clang/commit
[ARM] Handle +t2dsp feature as an ArchExtKind in ARMTargetParser.def
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Mon, 21 Sep 2015 13:19:25 +0000 (13:19 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Mon, 21 Sep 2015 13:19:25 +0000 (13:19 +0000)
commitd02337a71cde6cfaca906fd8fbc934e8131f7768
treeb18a22e659989c3277490b222817defbceaf5453
parent4814d33e6f2ff9a8c6898a3b61848973a91675a9
[ARM] Handle +t2dsp feature as an ArchExtKind in ARMTargetParser.def

Currently, the availability of DSP instructions (ACLE 6.4.7) is handled in
a hand-rolled tricky condition block in lib/Basic/Targets.cpp, with a FIXME:
attached.

http://reviews.llvm.org/D12937 moved the handling of +t2dsp over to
ARMTargetParser.def in LLVM, to be in line with other architecture extensions.

This is the corresponding patch to clang, to clear the FIXME: and update
the tests.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248154 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/CodeGen/arm-target-features.c