[llvm-commits] CVS: llvm/lib/Target/Sparc/Sparc.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 29 15:49:07 PST 2002


Changes in directory llvm/lib/Target/Sparc:

Sparc.cpp updated: 1.53 -> 1.54

---
Log message:

* Privatize the TargetName
* Move optSizeForSubWordData to TargetData
* Remove unused fields



---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/Sparc.cpp
diff -u llvm/lib/Target/Sparc/Sparc.cpp:1.53 llvm/lib/Target/Sparc/Sparc.cpp:1.54
--- llvm/lib/Target/Sparc/Sparc.cpp:1.53	Tue Oct 29 15:12:45 2002
+++ llvm/lib/Target/Sparc/Sparc.cpp	Tue Oct 29 15:48:17 2002
@@ -125,16 +125,12 @@
 //---------------------------------------------------------------------------
 
 UltraSparc::UltraSparc()
-  : TargetMachine("UltraSparc-Native"),
+  : TargetMachine("UltraSparc-Native", 4),
     schedInfo(*this),
     regInfo(*this),
     frameInfo(*this),
     cacheInfo(*this),
-    optInfo(*this)
-{
-  optSizeForSubWordData = 4;
-  minMemOpWordSize = 8; 
-  maxAtomicMemOpWordSize = 8;
+    optInfo(*this) {
 }
 
 





More information about the llvm-commits mailing list