summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-07 07:07:08 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-07 07:07:08 +0000
commit1a72add615cdea9454f681491b8c00c1ae191d64 (patch)
tree83856a98cad75009e8c3dd614846550afbca896a /llvm/lib/Target/ARM/ARMSubtarget.h
parent4db5c3c83a22268ff0eeaa6ca7fd500668533487 (diff)
downloadbcm5719-llvm-1a72add615cdea9454f681491b8c00c1ae191d64.tar.gz
bcm5719-llvm-1a72add615cdea9454f681491b8c00c1ae191d64.zip
Compute feature bits at time of MCSubtargetInfo initialization.
llvm-svn: 134606
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 5fad9a777d6..a199f2bfe35 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -25,6 +25,7 @@
namespace llvm {
class GlobalValue;
+class StringRef;
class ARMSubtarget : public ARMGenSubtargetInfo {
protected:
@@ -168,7 +169,7 @@ protected:
}
/// 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);
+ void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
void computeIssueWidth();
OpenPOWER on IntegriCloud