[llvm-commits] CVS: llvm/tools/llc/Makefile llc.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Feb 28 13:57:02 PST 2004
Changes in directory llvm/tools/llc:
Makefile updated: 1.48 -> 1.49
llc.cpp updated: 1.93 -> 1.94
---
Log message:
Add a hook to run with the V8 target, though it doesn't currently work. Also
mark the PPC backend as experimental
---
Diffs of the changes: (+7 -2)
Index: llvm/tools/llc/Makefile
diff -u llvm/tools/llc/Makefile:1.48 llvm/tools/llc/Makefile:1.49
--- llvm/tools/llc/Makefile:1.48 Wed Feb 25 13:08:11 2004
+++ llvm/tools/llc/Makefile Sat Feb 28 13:55:16 2004
@@ -9,6 +9,7 @@
LEVEL = ../..
TOOLNAME = llc
USEDLIBS = cwriter \
+ sparcv8 \
sparcv9 \
x86 \
powerpc \
Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.93 llvm/tools/llc/llc.cpp:1.94
--- llvm/tools/llc/llc.cpp:1.93 Wed Feb 25 13:08:11 2004
+++ llvm/tools/llc/llc.cpp Sat Feb 28 13:55:16 2004
@@ -37,13 +37,14 @@
static cl::opt<bool> Force("f", cl::desc("Overwrite output files"));
-enum ArchName { noarch, X86, SparcV9, PowerPC, CBackend };
+enum ArchName { noarch, X86, SparcV8, 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(SparcV8, "sparcv8", " SPARC V8 (experimental)"),
clEnumValN(SparcV9, "sparcv9", " SPARC V9"),
- clEnumValN(PowerPC, "powerpc", " PowerPC"),
+ clEnumValN(PowerPC, "powerpc", " PowerPC (experimental)"),
clEnumValN(CBackend, "c", " C backend"),
0),
cl::init(noarch));
@@ -92,6 +93,9 @@
break;
case SparcV9:
TargetMachineAllocator = allocateSparcV9TargetMachine;
+ break;
+ case SparcV8:
+ TargetMachineAllocator = allocateSparcV8TargetMachine;
break;
case PowerPC:
TargetMachineAllocator = allocatePowerPCTargetMachine;
More information about the llvm-commits
mailing list