[ARM] Fix MachO CPU Subtype selection
authorVedant Kumar <vsk@apple.com>
Fri, 14 Aug 2015 18:36:47 +0000 (18:36 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 14 Aug 2015 18:36:47 +0000 (18:36 +0000)
commit7f3292c85eaeea81ce7cf307de1fc906b2da2c2e
treecd7a4262808998ccbb0e9580d98421deb13e96b2
parent09ec2d3ce34ef1b1e1683b324428fd156542601d
[ARM] Fix MachO CPU Subtype selection

This patch makes the Darwin ARM backend take advantage of TargetParser.  It
also teaches TargetParser about ARMV7K for the first time. This makes target
triple parsing more consistent across llvm.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245081 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/TargetParser.h
lib/Support/TargetParser.cpp
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
test/CodeGen/ARM/MachO-subtypes.ll [new file with mode: 0644]