r246202 - Remove a dead assert, we'd have gotten the case above.
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 27 13:32:24 PDT 2015
Author: echristo
Date: Thu Aug 27 15:32:24 2015
New Revision: 246202
URL: http://llvm.org/viewvc/llvm-project?rev=246202&view=rev
Log:
Remove a dead assert, we'd have gotten the case above.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=246202&r1=246201&r2=246202&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Aug 27 15:32:24 2015
@@ -2917,7 +2917,6 @@ bool X86TargetInfo::handleTargetFeatures
HasCX16 = true;
}
- assert(Feature[0] == '+' && "Invalid target feature!");
X86SSEEnum Level = llvm::StringSwitch<X86SSEEnum>(Feature)
.Case("+avx512f", AVX512F)
.Case("+avx2", AVX2)
More information about the cfe-commits
mailing list