Fix two problems in SelectionDAGLegalize::ExpandBUILD_VECTOR's handling
[oota-llvm.git] / lib / CodeGen / MachineBasicBlock.cpp
index 5ca18d086acc2aa16f4a27c0fb1486d97e598a56..af91a2fb15c471b499892c3970543f17c82785ff 100644 (file)
@@ -146,7 +146,7 @@ static inline void OutputReg(std::ostream &os, unsigned RegNo,
                              const TargetRegisterInfo *TRI = 0) {
   if (!RegNo || TargetRegisterInfo::isPhysicalRegister(RegNo)) {
     if (TRI)
-      os << " %" << TRI->get(RegNo).PrintableName;
+      os << " %" << TRI->get(RegNo).Name;
     else
       os << " %mreg(" << RegNo << ")";
   } else
@@ -166,6 +166,7 @@ void MachineBasicBlock::print(std::ostream &OS) const {
   if (LBB) OS << LBB->getName() << ": ";
   OS << (const void*)this
      << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber();
+  if (Alignment) OS << ", Alignment " << Alignment;
   if (isLandingPad()) OS << ", EH LANDING PAD";
   OS << ":\n";