Remove a dead assert, we'd have gotten the case above.

llvm-svn: 246202
This commit is contained in:
Eric Christopher 2015-08-27 20:32:24 +00:00
parent d76e067150
commit 53b2afa28f

View 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)