mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 08:31:13 +00:00
Remove a dead assert, we'd have gotten the case above.
llvm-svn: 246202
This commit is contained in:
parent
d76e067150
commit
53b2afa28f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user