forked from OSchip/llvm-project
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:
parent
31745731e8
commit
9dedf64238
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue