[llvm-commits] CVS: llvm/lib/Target/Sparc/Makefile SparcInstrInfo.cpp SparcInternals.h SparcOptInfo.cpp
John Criswell
criswell at cs.uiuc.edu
Mon Jun 30 17:01:26 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
Makefile updated: 1.23 -> 1.24
SparcInstrInfo.cpp updated: 1.47 -> 1.48
SparcInternals.h updated: 1.90 -> 1.91
SparcOptInfo.cpp updated: 1.8 -> 1.9
---
Log message:
Merged in autoconf branch. This provides configuration via the autoconf
system.
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/Makefile
diff -u llvm/lib/Target/Sparc/Makefile:1.23 llvm/lib/Target/Sparc/Makefile:1.24
--- llvm/lib/Target/Sparc/Makefile:1.23 Wed Jun 11 08:49:11 2003
+++ llvm/lib/Target/Sparc/Makefile Mon Jun 30 16:58:49 2003
@@ -14,20 +14,29 @@
Debug/Sparc.burm.cpp: Debug/Sparc.burm Debug/.dir
$(RunBurg) $< -o $@
-$(BUILD_OBJ_DIR)/Debug/Sparc.burm.o: Debug/Sparc.burm.cpp
+$(BUILD_OBJ_DIR)/Debug/Sparc.burm.lo: Debug/Sparc.burm.cpp
$(CompileG) $< -o $@
-$(BUILD_OBJ_DIR)/Release/Sparc.burm.o: Debug/Sparc.burm.cpp
+$(BUILD_OBJ_DIR)/Release/Sparc.burm.lo: Debug/Sparc.burm.cpp
$(CompileO) $< -o $@
-$(BUILD_OBJ_DIR)/Profile/Sparc.burm.o: Debug/Sparc.burm.cpp
+$(BUILD_OBJ_DIR)/Profile/Sparc.burm.lo: Debug/Sparc.burm.cpp
$(CompileP) $< -o $@
+#$(BUILD_OBJ_DIR)/Debug/Sparc.burm.o: Debug/Sparc.burm.cpp
+# $(CompileG) $< -o $@
+
+#$(BUILD_OBJ_DIR)/Release/Sparc.burm.o: Debug/Sparc.burm.cpp
+# $(CompileO) $< -o $@
+
+#$(BUILD_OBJ_DIR)/Profile/Sparc.burm.o: Debug/Sparc.burm.cpp
+# $(CompileP) $< -o $@
+
Debug/Sparc.burg.in1 : Sparc.burg.in Debug/.dir
- $(CXX) -E -I$(LEVEL)/include $(DEBUG_FLAG) -x c++ $< | sed '/^# /d' | sed 's/Ydefine/#define/' > $@
+ $(CXX) -E -I$(LEVEL)/include $(DEBUG_FLAG) -x c++ $< | ${SED} '/^# /d' | ${SED} 's/Ydefine/#define/' > $@
Debug/Sparc.burm : Debug/Sparc.burg.in1
- $(CXX) -E -I$(LEVEL)/include $(DEBUG_FLAG) -x c++ $< | sed '/^# /d' | sed 's/Xinclude/#include/g' | sed 's/Xdefine/#define/g' > $@
+ $(CXX) -E -I$(LEVEL)/include $(DEBUG_FLAG) -x c++ $< | ${SED} '/^# /d' | ${SED} 's/Xinclude/#include/g' | ${SED} 's/Xdefine/#define/g' > $@
$(BUILD_OBJ_DIR)/Depend/Sparc.burm.d: $(BUILD_OBJ_DIR)/Depend/.dir
touch $@
@@ -35,8 +44,8 @@
SparcV9CodeEmitter.cpp: SparcV9CodeEmitter.inc
SparcV9CodeEmitter.inc: SparcV9.td SparcV9_F2.td SparcV9_F3.td SparcV9_F4.td SparcV9_Reg.td $(TBLGEN)
- @echo "TableGen-erating $@"
+ @${ECHO} "TableGen-erating $@"
cpp -P SparcV9.td | $(TBLGEN) -gen-emitter -o $@
clean::
- rm -f SparcV9CodeEmitter.inc
+ ${RM} -f SparcV9CodeEmitter.inc
Index: llvm/lib/Target/Sparc/SparcInstrInfo.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.47 llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.48
--- llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.47 Fri Jun 6 04:52:23 2003
+++ llvm/lib/Target/Sparc/SparcInstrInfo.cpp Mon Jun 30 16:58:49 2003
@@ -13,7 +13,7 @@
#include "llvm/Function.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
-#include <stdlib.h>
+#include "Config/stdlib.h"
static const uint32_t MAXLO = (1 << 10) - 1; // set bits set by %lo(*)
static const uint32_t MAXSIMM = (1 << 12) - 1; // set bits in simm13 field of OR
Index: llvm/lib/Target/Sparc/SparcInternals.h
diff -u llvm/lib/Target/Sparc/SparcInternals.h:1.90 llvm/lib/Target/Sparc/SparcInternals.h:1.91
--- llvm/lib/Target/Sparc/SparcInternals.h:1.90 Mon Jun 16 10:31:09 2003
+++ llvm/lib/Target/Sparc/SparcInternals.h Mon Jun 30 16:58:49 2003
@@ -17,7 +17,7 @@
#include "llvm/Target/TargetOptInfo.h"
#include "llvm/Type.h"
#include "SparcRegClassInfo.h"
-#include <sys/types.h>
+#include "Config/sys/types.h"
class LiveRange;
class UltraSparc;
Index: llvm/lib/Target/Sparc/SparcOptInfo.cpp
diff -u llvm/lib/Target/Sparc/SparcOptInfo.cpp:1.8 llvm/lib/Target/Sparc/SparcOptInfo.cpp:1.9
--- llvm/lib/Target/Sparc/SparcOptInfo.cpp:1.8 Tue May 27 17:39:29 2003
+++ llvm/lib/Target/Sparc/SparcOptInfo.cpp Mon Jun 30 16:58:49 2003
@@ -7,7 +7,7 @@
#include "SparcInternals.h"
#include "llvm/Target/TargetRegInfo.h"
#include "llvm/CodeGen/MachineInstr.h"
-#include <stdlib.h>
+#include "Config/stdlib.h"
//----------------------------------------------------------------------------
// Function: IsUselessCopy
More information about the llvm-commits
mailing list