diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-05-04 20:38:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-05-04 20:38:40 +0000 |
commit | 4222d806faae71ecc794cfdaa873817873c2f3d8 (patch) | |
tree | 975d4537adf36a11ff1f7dcf6b403bf5b52b0f95 /include | |
parent | 2e7899dae991e4c3c0b0e967402d1c7ee348c1be (diff) | |
download | external_llvm-4222d806faae71ecc794cfdaa873817873c2f3d8.zip external_llvm-4222d806faae71ecc794cfdaa873817873c2f3d8.tar.gz external_llvm-4222d806faae71ecc794cfdaa873817873c2f3d8.tar.bz2 |
Add an "implies" field to features. This indicates that, if the current
feature is set, then the features in the implied list should be set also.
The opposite is also enforced: if a feature in the implied list isn't set,
then the feature that owns that implies list shouldn't be set either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/SubtargetFeature.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/SubtargetFeature.h b/include/llvm/Target/SubtargetFeature.h index f6a83df..e809fc0 100644 --- a/include/llvm/Target/SubtargetFeature.h +++ b/include/llvm/Target/SubtargetFeature.h @@ -34,6 +34,7 @@ struct SubtargetFeatureKV { const char *Key; // K-V key string const char *Desc; // Help descriptor uint32_t Value; // K-V integer value + uint32_t Implies; // K-V bit mask // Compare routine for std binary search bool operator<(const SubtargetFeatureKV &S) const { |