summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit19058c39891ec3485a3ecd61941292c41c94dc6f (patch)
tree78629b38955713204d0253887810638811335c09 /llvm/lib/Target/PowerPC/PPCSubtarget.h
parent3fee6a51a90cc86db048f8c9633a9d97788ecba8 (diff)
downloadbcm5719-llvm-19058c39891ec3485a3ecd61941292c41c94dc6f.tar.gz
bcm5719-llvm-19058c39891ec3485a3ecd61941292c41c94dc6f.zip
1. Use SubtargetFeatures in llc/lli.
2. Propagate feature "string" to all targets. 3. Implement use of SubtargetFeatures in PowerPCTargetSubtarget. llvm-svn: 23192
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index 60308f0c634..aaf07f91299 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/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
OpenPOWER on IntegriCloud