ARM IAS: remove unnecessary special case

Tag_nodefaults is even and greater than 32 and thus does not need the special
check to fall into the correct category.

llvm-svn: 199574
This commit is contained in:
Saleem Abdulrasool 2014-01-19 08:25:19 +00:00
parent 31745731e8
commit 9dedf64238
1 changed files with 1 additions and 1 deletions

View File

@ -8365,7 +8365,7 @@ bool ARMAsmParser::parseDirectiveEabiAttr(SMLoc L) {
else if (Tag == ARMBuildAttrs::compatibility) {
IsStringValue = true;
IsIntegerValue = true;
} else if (Tag == ARMBuildAttrs::nodefaults || Tag < 32 || Tag % 2 == 0)
} else if (Tag < 32 || Tag % 2 == 0)
IsIntegerValue = true;
else if (Tag % 2 == 1)
IsStringValue = true;