Target attribute syntax compatibility fix - gcc uses no- rather than mno-.
llvm-svn: 246197
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index eff9fde..4cb9eba 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -1528,7 +1528,7 @@
// overall feature validity for the function with the rest of the
// attributes on the function.
;
- else if (Feature.startswith("mno-"))
+ else if (Feature.startswith("no-"))
FnFeatures.push_back("-" + Feature.split("-").second.str());
else
FnFeatures.push_back("+" + Feature.str());