OSDN Git Service

[X86] Remove assert for missing features from X86::getImpliedFeatures
authorCraig Topper <craig.topper@intel.com>
Tue, 7 Jul 2020 07:17:59 +0000 (00:17 -0700)
committerCraig Topper <craig.topper@intel.com>
Tue, 7 Jul 2020 07:18:01 +0000 (00:18 -0700)
This is failing on the bots. Remove while I try to figure out
what feature I missed in the table.

llvm/lib/Support/X86TargetParser.cpp

index 5e4f62d..1218217 100644 (file)
@@ -558,8 +558,6 @@ void llvm::X86::getImpliedFeatures(
   auto I = llvm::find_if(
       FeatureInfos, [&](const FeatureInfo &FI) { return FI.Name == Feature; });
   if (I == std::end(FeatureInfos)) {
-    // This shouldn't happen, but handle it gracefully for release builds.
-    assert(false && "Feature not in table!");
     return;
   }