mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[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.
This commit is contained in:
parent
1a54133388
commit
befa4bf06a
@ -230,5 +230,6 @@ X86_FEATURE (RETPOLINE_INDIRECT_BRANCHES, "retpoline-indirect-branches")
|
||||
X86_FEATURE (RETPOLINE_INDIRECT_CALLS, "retpoline-indirect-calls")
|
||||
X86_FEATURE (LVI_CFI, "lvi-cfi")
|
||||
X86_FEATURE (LVI_LOAD_HARDENING, "lvi-load-hardening")
|
||||
X86_FEATURE (SESES, "seses")
|
||||
#undef X86_FEATURE_COMPAT
|
||||
#undef X86_FEATURE
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user