[llvm-commits] CVS: llvm/tools/llc/Makefile llc.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Feb 25 13:09:07 PST 2004
Changes in directory llvm/tools/llc:
Makefile updated: 1.47 -> 1.48
llc.cpp updated: 1.92 -> 1.93
---
Log message:
Great renaming part II: Sparc --> SparcV9 (also includes command-line options and Makefiles)
---
Diffs of the changes: (+10 -10)
Index: llvm/tools/llc/Makefile
diff -u llvm/tools/llc/Makefile:1.47 llvm/tools/llc/Makefile:1.48
--- llvm/tools/llc/Makefile:1.47 Fri Feb 13 17:19:09 2004
+++ llvm/tools/llc/Makefile Wed Feb 25 13:08:11 2004
@@ -9,16 +9,16 @@
LEVEL = ../..
TOOLNAME = llc
USEDLIBS = cwriter \
- sparc \
+ sparcv9 \
x86 \
powerpc \
selectiondag \
- regalloc \
+ sparcv9regalloc \
sched \
- select \
+ sparcv9select \
codegen \
target.a \
- livevar \
+ sparcv9livevar \
ipa.a \
transforms.a \
scalaropts.a \
Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.92 llvm/tools/llc/llc.cpp:1.93
--- llvm/tools/llc/llc.cpp:1.92 Thu Feb 19 14:32:38 2004
+++ llvm/tools/llc/llc.cpp Wed Feb 25 13:08:11 2004
@@ -37,12 +37,12 @@
static cl::opt<bool> Force("f", cl::desc("Overwrite output files"));
-enum ArchName { noarch, X86, Sparc, PowerPC, CBackend };
+enum ArchName { noarch, X86, SparcV9, PowerPC, CBackend };
static cl::opt<ArchName>
Arch("march", cl::desc("Architecture to generate assembly for:"), cl::Prefix,
cl::values(clEnumValN(X86, "x86", " IA-32 (Pentium and above)"),
- clEnumValN(Sparc, "sparc", " SPARC V9"),
+ clEnumValN(SparcV9, "sparcv9", " SPARC V9"),
clEnumValN(PowerPC, "powerpc", " PowerPC"),
clEnumValN(CBackend, "c", " C backend"),
0),
@@ -90,8 +90,8 @@
case X86:
TargetMachineAllocator = allocateX86TargetMachine;
break;
- case Sparc:
- TargetMachineAllocator = allocateSparcTargetMachine;
+ case SparcV9:
+ TargetMachineAllocator = allocateSparcV9TargetMachine;
break;
case PowerPC:
TargetMachineAllocator = allocatePowerPCTargetMachine;
@@ -109,14 +109,14 @@
TargetMachineAllocator = allocatePowerPCTargetMachine;
} else if (mod.getEndianness() == Module::BigEndian &&
mod.getPointerSize() == Module::Pointer64) {
- TargetMachineAllocator = allocateSparcTargetMachine;
+ TargetMachineAllocator = allocateSparcV9TargetMachine;
} else {
// If the module is target independent, favor a target which matches the
// current build system.
#if defined(i386) || defined(__i386__) || defined(__x86__)
TargetMachineAllocator = allocateX86TargetMachine;
#elif defined(sparc) || defined(__sparc__) || defined(__sparcv9)
- TargetMachineAllocator = allocateSparcTargetMachine;
+ TargetMachineAllocator = allocateSparcV9TargetMachine;
#elif defined(__POWERPC__) || defined(__ppc__) || defined(__APPLE__)
TargetMachineAllocator = allocatePowerPCTargetMachine;
#else
More information about the llvm-commits
mailing list