- 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
llvm-svn: 242406

llvm/lib/Support/TargetParser.cpp

index 00cdf2e..e80e942 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;