diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-05-23 19:50:50 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-05-23 19:50:50 +0000 |
commit | 41a024385f1220eadc48b48cb4c044a5fbc1b361 (patch) | |
tree | 84e4c7c067cf7671696a466e471ce202604ffb81 /lib/Target/CellSPU/SPUSubtarget.h | |
parent | a14be3b26472b31af81c988edb0b9c05711f875f (diff) | |
download | external_llvm-41a024385f1220eadc48b48cb4c044a5fbc1b361.tar.gz external_llvm-41a024385f1220eadc48b48cb4c044a5fbc1b361.tar.bz2 external_llvm-41a024385f1220eadc48b48cb4c044a5fbc1b361.zip |
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/CellSPU/SPUSubtarget.h')
-rw-r--r-- | lib/Target/CellSPU/SPUSubtarget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/SPUSubtarget.h b/lib/Target/CellSPU/SPUSubtarget.h index 695ec94fee..b6a34099b2 100644 --- a/lib/Target/CellSPU/SPUSubtarget.h +++ b/lib/Target/CellSPU/SPUSubtarget.h @@ -59,8 +59,9 @@ namespace llvm { /// 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. void SetJITMode(); |