Add operand info for F3_[12] instructions, getting V8 back to basic functionality.
[oota-llvm.git] / tools / bugpoint / Miscompilation.cpp
index b3e616111e824a14938c710bf014b03004316d0e..cf4cc7e748cc7bc3ad70a0bb673af1cf0447aea9 100644 (file)
@@ -232,6 +232,8 @@ static void DisambiguateGlobalSymbols(Module *M) {
   // mangler is used by the two code generators), but having symbols with the
   // same name causes warnings to be emitted by the code generator.
   Mangler Mang(*M);
+  // Agree with the CBE on symbol naming
+  Mang.markCharUnacceptable('.');
   for (Module::global_iterator I = M->global_begin(), E = M->global_end(); I != E; ++I)
     I->setName(Mang.getValueName(I));
   for (Module::iterator  I = M->begin(),  E = M->end();  I != E; ++I)
@@ -860,7 +862,7 @@ bool BugDriver::debugCodeGenerator() {
     std::cout << "  gcc " << SharedObject << " " << TestModuleBC
               << ".s -o " << TestModuleBC << ".exe";
 #if defined (HAVE_LINK_R)
-    std::cout << "-Wl,-R.";
+    std::cout << " -Wl,-R.";
 #endif
     std::cout << "\n";
     std::cout << "  " << TestModuleBC << ".exe";