[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp SparcV8TargetMachine.h
Jim Laskey
jlaskey at apple.com
Thu Sep 1 14:38:38 PDT 2005
Changes in directory llvm/lib/Target/SparcV8:
SparcV8TargetMachine.cpp updated: 1.28 -> 1.29
SparcV8TargetMachine.h updated: 1.6 -> 1.7
---
Log message:
1. Use SubtargetFeatures in llc/lli.
2. Propagate feature "string" to all targets.
3. Implement use of SubtargetFeatures in PowerPCTargetSubtarget.
---
Diffs of the changes: (+4 -2)
SparcV8TargetMachine.cpp | 3 ++-
SparcV8TargetMachine.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.28 llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.29
--- llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.28 Fri Jun 24 21:48:37 2005
+++ llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp Thu Sep 1 16:38:21 2005
@@ -31,7 +31,8 @@
/// SparcV8TargetMachine ctor - Create an ILP32 architecture model
///
SparcV8TargetMachine::SparcV8TargetMachine(const Module &M,
- IntrinsicLowering *IL)
+ IntrinsicLowering *IL,
+ const std::string &FS)
: TargetMachine("SparcV8", IL, false, 4, 4),
FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0), JITInfo(*this) {
}
Index: llvm/lib/Target/SparcV8/SparcV8TargetMachine.h
diff -u llvm/lib/Target/SparcV8/SparcV8TargetMachine.h:1.6 llvm/lib/Target/SparcV8/SparcV8TargetMachine.h:1.7
--- llvm/lib/Target/SparcV8/SparcV8TargetMachine.h:1.6 Fri Jun 24 21:48:37 2005
+++ llvm/lib/Target/SparcV8/SparcV8TargetMachine.h Thu Sep 1 16:38:21 2005
@@ -30,7 +30,8 @@
TargetFrameInfo FrameInfo;
SparcV8JITInfo JITInfo;
public:
- SparcV8TargetMachine(const Module &M, IntrinsicLowering *IL);
+ SparcV8TargetMachine(const Module &M, IntrinsicLowering *IL,
+ const std::string &FS);
virtual const SparcV8InstrInfo *getInstrInfo() const { return &InstrInfo; }
virtual const TargetFrameInfo *getFrameInfo() const { return &FrameInfo; }
More information about the llvm-commits
mailing list