Add a hook to run with the V8 target, though it doesn't currently work. Also
authorChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2004 19:55:16 +0000 (19:55 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2004 19:55:16 +0000 (19:55 +0000)
mark the PPC backend as experimental

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11962 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/Makefile
tools/llc/llc.cpp

index fb0d06080db5fed89756691d2f94a4f42a498518..0f77156cc5e68e0dee5576e689d1ab02102a846c 100644 (file)
@@ -9,6 +9,7 @@
 LEVEL = ../..
 TOOLNAME = llc
 USEDLIBS = cwriter \
+          sparcv8 \
            sparcv9 \
            x86 \
            powerpc \
index d7c9faeb2616fac2eb0067fc73b05bcf20e8be07..7e800f11319abb50ab67d983d07c46e467041c75 100644 (file)
@@ -37,13 +37,14 @@ OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"));
 
 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));
@@ -93,6 +94,9 @@ int main(int argc, char **argv) {
   case SparcV9:
     TargetMachineAllocator = allocateSparcV9TargetMachine;
     break;
+  case SparcV8:
+    TargetMachineAllocator = allocateSparcV8TargetMachine;
+    break;
   case PowerPC:
     TargetMachineAllocator = allocatePowerPCTargetMachine;
     break;