[llvm-commits] CVS: llvm/tools/llc/llc.cpp
Misha Brukman
brukman at cs.uiuc.edu
Wed Jul 30 10:31:02 PDT 2003
Changes in directory llvm/tools/llc:
llc.cpp updated: 1.79 -> 1.80
---
Log message:
Revert change: default architecture is never set, it is guessed from input
bytecode file. This means that LLC on X86 will compile to Sparc assembly given a
64-bit input bytecode file...
---
Diffs of the changes:
Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.79 llvm/tools/llc/llc.cpp:1.80
--- llvm/tools/llc/llc.cpp:1.79 Fri Jul 18 17:21:40 2003
+++ llvm/tools/llc/llc.cpp Wed Jul 30 10:29:55 2003
@@ -35,14 +35,7 @@
cl::values(clEnumVal(x86, " IA-32 (Pentium and above)"),
clEnumValN(Sparc, "sparc", " SPARC V9"),
0),
-#if defined(i386) || defined(__i386__) || defined(__x86__)
- cl::init(x86)
-#elif defined(sparc) || defined(__sparc__) || defined(__sparcv9)
- cl::init(Sparc)
-#else
- cl::init(noarch)
-#endif
- );
+ cl::init(noarch));
// GetFileNameRoot - Helper function to get the basename of a filename...
static inline std::string
More information about the llvm-commits
mailing list