aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcSubtarget.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-05-23 19:50:50 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-05-23 19:50:50 +0000
commit7357d8f48490c42cf6237c3a8f982a36258248db (patch)
tree84e4c7c067cf7671696a466e471ce202604ffb81 /lib/Target/Sparc/SparcSubtarget.h
parentdc3e36dd1f8485f55a28fac99fa23a5bfb011e61 (diff)
downloadexternal_llvm-7357d8f48490c42cf6237c3a8f982a36258248db.zip
external_llvm-7357d8f48490c42cf6237c3a8f982a36258248db.tar.gz
external_llvm-7357d8f48490c42cf6237c3a8f982a36258248db.tar.bz2
Propagate CPU string out of SubtargetFeatures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcSubtarget.h')
-rw-r--r--lib/Target/Sparc/SparcSubtarget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcSubtarget.h b/lib/Target/Sparc/SparcSubtarget.h
index dcb8c89..e5a5ba4 100644
--- a/lib/Target/Sparc/SparcSubtarget.h
+++ b/lib/Target/Sparc/SparcSubtarget.h
@@ -33,8 +33,9 @@ public:
/// ParseSubtargetFeatures - Parses features string setting specified
/// subtarget options. Definition of function is auto generated by tblgen.
- void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU);
-
+ std::string ParseSubtargetFeatures(const std::string &FS,
+ const std::string &CPU);
+
};
} // end namespace llvm