From: Eric Christopher Date: Thu, 27 Aug 2015 20:32:24 +0000 (+0000) Subject: Remove a dead assert, we'd have gotten the case above. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=730bc910f1be72cad4c838ed85c70bdac9fbfe6e;p=clang Remove a dead assert, we'd have gotten the case above. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246202 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 6a6a345251..577ee8abc8 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -2917,7 +2917,6 @@ bool X86TargetInfo::handleTargetFeatures(std::vector &Features, HasCX16 = true; } - assert(Feature[0] == '+' && "Invalid target feature!"); X86SSEEnum Level = llvm::StringSwitch(Feature) .Case("+avx512f", AVX512F) .Case("+avx2", AVX2)