[ARM] Support for ARMv6-Z / ARMv6-ZK missing
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Wed, 30 Sep 2015 17:25:52 +0000 (17:25 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Wed, 30 Sep 2015 17:25:52 +0000 (17:25 +0000)
commitd84fffe1de546b956429595d652f54f0529dbe07
tree7aeee09854a5b89b0c7a3fb199e947f4e054be60
parente2b61758207f6ae12084a750791b65d82f61b252
[ARM] Support for ARMv6-Z / ARMv6-ZK missing

As Richard Barton observed at http://reviews.llvm.org/D12937#inline-107121
TargetParser in LLVM has insufficient support for ARMv6Z and ARMv6ZK.

In particular, there were no tests for TrustZone being supported in these
architectures.

The patch clears a FIXME: left by Saleem Abdulrasool in r201471, and fixes
his test case which hadn't really been testing what it was claiming to test.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248921 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ARMTargetParser.def
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/directive-arch_extension-sec.s