[llvm-commits] CVS: llvm/lib/Target/Skeleton/SkeletonTargetMachine.cpp SkeletonTargetMachine.h

Jim Laskey jlaskey at apple.com
Thu Sep 1 14:38:38 PDT 2005



Changes in directory llvm/lib/Target/Skeleton:

SkeletonTargetMachine.cpp updated: 1.4 -> 1.5
SkeletonTargetMachine.h updated: 1.3 -> 1.4
---
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)

 SkeletonTargetMachine.cpp |    3 ++-
 SkeletonTargetMachine.h   |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/Skeleton/SkeletonTargetMachine.cpp
diff -u llvm/lib/Target/Skeleton/SkeletonTargetMachine.cpp:1.4 llvm/lib/Target/Skeleton/SkeletonTargetMachine.cpp:1.5
--- llvm/lib/Target/Skeleton/SkeletonTargetMachine.cpp:1.4	Fri Jun 24 21:48:37 2005
+++ llvm/lib/Target/Skeleton/SkeletonTargetMachine.cpp	Thu Sep  1 16:38:21 2005
@@ -29,7 +29,8 @@
 /// SkeletonTargetMachine ctor - Create an ILP32 architecture model
 ///
 SkeletonTargetMachine::SkeletonTargetMachine(const Module &M,
-                                           IntrinsicLowering *IL)
+                                           IntrinsicLowering *IL,
+                                           const std::string &FS)
   : TargetMachine("Skeleton", IL, true, 4, 4, 4, 4, 4),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 8, -4), JITInfo(*this) {
 }


Index: llvm/lib/Target/Skeleton/SkeletonTargetMachine.h
diff -u llvm/lib/Target/Skeleton/SkeletonTargetMachine.h:1.3 llvm/lib/Target/Skeleton/SkeletonTargetMachine.h:1.4
--- llvm/lib/Target/Skeleton/SkeletonTargetMachine.h:1.3	Fri Jun 24 21:48:37 2005
+++ llvm/lib/Target/Skeleton/SkeletonTargetMachine.h	Thu Sep  1 16:38:21 2005
@@ -28,7 +28,8 @@
     TargetFrameInfo FrameInfo;
     SkeletonJITInfo JITInfo;
   public:
-    SkeletonTargetMachine(const Module &M, IntrinsicLowering *IL);
+    SkeletonTargetMachine(const Module &M, IntrinsicLowering *IL,
+                          const std::string &FS);
 
     virtual const SkeletonInstrInfo *getInstrInfo() const { return &InstrInfo; }
     virtual const TargetFrameInfo  *getFrameInfo() const { return &FrameInfo; }






More information about the llvm-commits mailing list