Added comments and correct logic for finding register sizes.
llvm-svn: 1494
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp
index 20bad83..9524e80 100644
--- a/llvm/lib/Target/Sparc/Sparc.cpp
+++ b/llvm/lib/Target/Sparc/Sparc.cpp
@@ -291,14 +291,17 @@
<< "\n\n";
return true;
}
-
+
+ /*
if (ScheduleInstructionsWithSSA(method, *this))
{
cerr << "Instruction scheduling before allocation failed for method "
<< method->getName() << "\n\n";
return true;
}
+ */
+
AllocateRegisters(method, *this); // allocate registers
ApplyPeepholeOptimizations(method, *this); // machine-dependent peephole opts