summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAndre Vieira <andre.simoesdiasvieira@arm.com>2018-02-13 11:46:38 +0000
committerAndre Vieira <andre.simoesdiasvieira@arm.com>2018-02-13 11:46:38 +0000
commitf00234c0bfe875ccdcbcb49115aefe8a8dff4bf6 (patch)
treeab17de2620ba6df0e7f76457aec8ec4ddf47f5af /llvm/lib
parente057325cdd1042140976a1eba1e9a79e42e5fdd0 (diff)
downloadbcm5719-llvm-f00234c0bfe875ccdcbcb49115aefe8a8dff4bf6.tar.gz
bcm5719-llvm-f00234c0bfe875ccdcbcb49115aefe8a8dff4bf6.zip
[ARM] Don't print "Requires NEON" error message for M-profile
Differential Revision: https://reviews.llvm.org/D43125 llvm-svn: 325000
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 3d251887883..597d654bed9 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -10230,6 +10230,8 @@ ARMAsmParser::FilterNearMisses(SmallVectorImpl<NearMissInfo> &NearMissesIn,
if (!isThumb() && (MissingFeatures & Feature_IsThumb2) &&
(MissingFeatures & ~(Feature_IsThumb2 | Feature_IsThumb)))
break;
+ if (isMClass() && (MissingFeatures & Feature_HasNEON))
+ break;
NearMissMessage Message;
Message.Loc = IDLoc;
OpenPOWER on IntegriCloud