- TargetParser does not handle armv7l in parseArchProfile().
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Thu, 16 Jul 2015 14:54:41 +0000 (14:54 +0000)
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Thu, 16 Jul 2015 14:54:41 +0000 (14:54 +0000)
- ARM V7L matches the 'A' profile of ARM architecture.

Change-Id: I80c8b973f5c93fb040c177a227644d56b1b83ea8
Phabricator: http://reviews.llvm.org/D11261

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242406 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/TargetParser.cpp

index 00cdf2eccdfd005c96191f937adfb3c0e687e67d..e80e942af037610d9e8c7196f138ec9a69a09776 100644 (file)
@@ -558,6 +558,7 @@ unsigned ARMTargetParser::parseArchProfile(StringRef Arch) {
     return ARM::PK_R;
   case ARM::AK_ARMV7:
   case ARM::AK_ARMV7A:
+  case ARM::AK_ARMV7L:
   case ARM::AK_ARMV8A:
   case ARM::AK_ARMV8_1A:
     return ARM::PK_A;