]> granicus.if.org Git - clang/commitdiff
Remove a dead assert, we'd have gotten the case above.
authorEric Christopher <echristo@gmail.com>
Thu, 27 Aug 2015 20:32:24 +0000 (20:32 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 27 Aug 2015 20:32:24 +0000 (20:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246202 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 6a6a34525183fc3d2717a5a9e8002f4004a80dd0..577ee8abc81ca517797ad7efa0dcae3a41181eaa 100644 (file)
@@ -2917,7 +2917,6 @@ bool X86TargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
       HasCX16 = true;
     }
 
-    assert(Feature[0] == '+' && "Invalid target feature!");
     X86SSEEnum Level = llvm::StringSwitch<X86SSEEnum>(Feature)
       .Case("+avx512f", AVX512F)
       .Case("+avx2", AVX2)