[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 19 14:34:25 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.151 -> 1.152
---
Log message:
Fix a bug in previous commit
---
Diffs of the changes: (+2 -1)
SelectionDAG.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.151 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.152
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.151 Fri Aug 19 16:21:15 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Fri Aug 19 16:34:13 2005
@@ -17,6 +17,7 @@
#include "llvm/Assembly/Writer.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/Support/MathExtras.h"
+#include "llvm/Target/MRegisterInfo.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
@@ -2069,7 +2070,7 @@
if (LBB)
std::cerr << LBB->getName() << " ";
std::cerr << (const void*)BBDN->getBasicBlock() << ">";
- } else if (const RegisterSDNode *C2V = dyn_cast<RegisterSDNode>(this)) {
+ } else if (const RegisterSDNode *R = dyn_cast<RegisterSDNode>(this)) {
if (G && MRegisterInfo::isPhysicalRegister(R->getReg())) {
std::cerr << " " <<G->getTarget().getRegisterInfo()->getName(R->getReg());
} else {
More information about the llvm-commits
mailing list