aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/SubtargetFeature.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-04-08 18:52:58 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-04-08 18:52:58 +0000
commited36a478671cd30bd9ec9505739fae7ea4798b40 (patch)
tree5a7e66e346bc186fe24f4e0dd8311654c7d609f1 /include/llvm/MC/SubtargetFeature.h
parentc3d5c1cb338f3929f868f6130a2d036ff22e9e1c (diff)
downloadexternal_llvm-ed36a478671cd30bd9ec9505739fae7ea4798b40.zip
external_llvm-ed36a478671cd30bd9ec9505739fae7ea4798b40.tar.gz
external_llvm-ed36a478671cd30bd9ec9505739fae7ea4798b40.tar.bz2
Update documentation.
First feature is not CPU subtype anymore since r134127 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/SubtargetFeature.h')
-rw-r--r--include/llvm/MC/SubtargetFeature.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/MC/SubtargetFeature.h b/include/llvm/MC/SubtargetFeature.h
index 37ae03b..8862c8b 100644
--- a/include/llvm/MC/SubtargetFeature.h
+++ b/include/llvm/MC/SubtargetFeature.h
@@ -62,10 +62,8 @@ struct SubtargetInfoKV {
///
/// SubtargetFeatures - Manages the enabling and disabling of subtarget
/// specific features. Features are encoded as a string of the form
-/// "cpu,+attr1,+attr2,-attr3,...,+attrN"
+/// "+attr1,+attr2,-attr3,...,+attrN"
/// A comma separates each feature from the next (all lowercase.)
-/// The first feature is always the CPU subtype (eg. pentiumm). If the CPU
-/// value is "generic" then the CPU subtype should be generic for the target.
/// Each of the remaining features is prefixed with + or - indicating whether
/// that feature should be enabled or disabled contrary to the cpu
/// specification.