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...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-07-30 15:29:55 +00:00
parent db68577691
commit 5d5bc7b90c

View File

@ -35,14 +35,7 @@ Arch("march", cl::desc("Architecture to generate assembly for:"), cl::Prefix,
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