aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2005-09-01 21:38:21 +0000
committerJim Laskey <jlaskey@mac.com>2005-09-01 21:38:21 +0000
commitb1e1180ca0b32f37aa74d7ad703eeaf91e66c8fa (patch)
treea34f84ab3bb875ee64e139f707e7591a5d162eca /lib/Target/PowerPC/PPCSubtarget.h
parentb3302db18a779527a4b1cd7a2024543ade7e83c6 (diff)
downloadexternal_llvm-b1e1180ca0b32f37aa74d7ad703eeaf91e66c8fa.zip
external_llvm-b1e1180ca0b32f37aa74d7ad703eeaf91e66c8fa.tar.gz
external_llvm-b1e1180ca0b32f37aa74d7ad703eeaf91e66c8fa.tar.bz2
1. Use SubtargetFeatures in llc/lli.
2. Propagate feature "string" to all targets. 3. Implement use of SubtargetFeatures in PowerPCTargetSubtarget. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h
index 60308f0..aaf07f9 100644
--- a/lib/Target/PowerPC/PPCSubtarget.h
+++ b/lib/Target/PowerPC/PPCSubtarget.h
@@ -16,6 +16,8 @@
#include "llvm/Target/TargetSubtarget.h"
+#include <string>
+
namespace llvm {
class Module;
@@ -33,7 +35,7 @@ public:
/// This constructor initializes the data members to match that
/// of the specified module.
///
- PPCSubtarget(const Module &M);
+ PPCSubtarget(const Module &M, const std::string &FS);
/// getStackAlignment - Returns the minimum alignment known to hold of the
/// stack frame on entry to the function and which must be maintained by every