From 41a024385f1220eadc48b48cb4c044a5fbc1b361 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sat, 23 May 2009 19:50:50 +0000 Subject: Propagate CPU string out of SubtargetFeatures git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72335 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCSubtarget.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/Target/PowerPC/PPCSubtarget.h') diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index d268a7d9b7..176f3e1947 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -86,7 +86,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); + /// SetJITMode - This is called to inform the subtarget info that we are /// producing code for the JIT. -- cgit v1.2.3