diff options
author | Craig Topper <craig.topper@intel.com> | 2020-07-07 11:13:06 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-07-07 15:20:59 -0700 |
commit | 91f70675cc6e5c872e0059c11d797b8726eeac67 (patch) | |
tree | be33b65ff1ee636df52152d5a5d65637fb485cba /llvm/lib/Support/X86TargetParser.cpp | |
parent | 04b85e2bcbffcbe4ff4eb1ef3762f326525cae7c (diff) | |
download | llvm-91f70675cc6e5c872e0059c11d797b8726eeac67.zip llvm-91f70675cc6e5c872e0059c11d797b8726eeac67.tar.gz llvm-91f70675cc6e5c872e0059c11d797b8726eeac67.tar.bz2 |
[X86] Add back the assert in getImpliedFeatures that I removed in ef4cc70f3ed2a91e0a48c6448c517c3ba34c2846
I've added additional features to the table so I want to see if
the bots are happier with this.
Diffstat (limited to 'llvm/lib/Support/X86TargetParser.cpp')
-rw-r--r-- | llvm/lib/Support/X86TargetParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/X86TargetParser.cpp b/llvm/lib/Support/X86TargetParser.cpp index 261e296..df03f63 100644 --- a/llvm/lib/Support/X86TargetParser.cpp +++ b/llvm/lib/Support/X86TargetParser.cpp @@ -441,6 +441,7 @@ static constexpr FeatureBitset ImpliedFeaturesRETPOLINE_INDIRECT_BRANCHES = {}; static constexpr FeatureBitset ImpliedFeaturesRETPOLINE_INDIRECT_CALLS = {}; static constexpr FeatureBitset ImpliedFeaturesLVI_CFI = {}; static constexpr FeatureBitset ImpliedFeaturesLVI_LOAD_HARDENING = {}; +static constexpr FeatureBitset ImpliedFeaturesSESES = {}; // XSAVE features are dependent on basic XSAVE. static constexpr FeatureBitset ImpliedFeaturesXSAVEC = FeatureXSAVE; @@ -562,6 +563,7 @@ void llvm::X86::getImpliedFeatures( if (I == std::end(FeatureInfos)) { // FIXME: This shouldn't happen, but may not have all features in the table // yet. + assert(false && "Feature not found in table!"); return; } |