From bf329b3414bbc24efb6d44952a7cbf66c83bcca1 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 19 Jan 2014 08:25:19 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199574 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/ARM') diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 2b92b23a15..8fda89c181 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -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; -- cgit v1.2.3