Clean up an inconsistency in v7s feature default.

llvm-svn: 198889
This commit is contained in:
Evan Cheng 2014-01-09 20:24:00 +00:00
parent ce0e3f8a09
commit aa37d35d78
1 changed files with 2 additions and 2 deletions

View File

@ -126,9 +126,9 @@ std::string ARM_MC::ParseARMTriple(StringRef TT, StringRef CPU) {
ARMArchFeature = "+v7";
} else if (Len >= Idx+2 && TT[Idx+1] == 's') {
if (NoCPU)
// v7s: FeatureNEON, FeatureDB, FeatureDSPThumb2, FeatureT2XtPk
// v7s: FeatureNEON, FeatureDB, FeatureDSPThumb2, FeatureHasRAS
// Swift
ARMArchFeature = "+v7,+swift,+neon,+db,+t2dsp,+t2xtpk";
ARMArchFeature = "+v7,+swift,+neon,+db,+t2dsp,+ras";
else
// Use CPU to figure out the exact features.
ARMArchFeature = "+v7";