[llvm-commits] CVS: llvm/lib/Target/Sparc/PreSelection.cpp SparcInstrInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 21 12:23:02 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
PreSelection.cpp updated: 1.21 -> 1.22
SparcInstrInfo.cpp updated: 1.55 -> 1.56
---
Log message:
Hrm, unbreak stuph :(
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/Target/Sparc/PreSelection.cpp
diff -u llvm/lib/Target/Sparc/PreSelection.cpp:1.21 llvm/lib/Target/Sparc/PreSelection.cpp:1.22
--- llvm/lib/Target/Sparc/PreSelection.cpp:1.21 Tue Oct 21 11:09:23 2003
+++ llvm/lib/Target/Sparc/PreSelection.cpp Tue Oct 21 12:22:23 2003
@@ -222,7 +222,7 @@
// so just handle PHIs and other instructions separately.
//
for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i)
- visitOneOperand(I, PN.getIncomingValue(i),
+ visitOneOperand(PN, PN.getIncomingValue(i),
PN.getOperandNumForIncomingValue(i),
*PN.getIncomingBlock(i)->getTerminator());
// do not call visitOperands!
Index: llvm/lib/Target/Sparc/SparcInstrInfo.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.55 llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.56
--- llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.55 Tue Oct 21 11:29:23 2003
+++ llvm/lib/Target/Sparc/SparcInstrInfo.cpp Tue Oct 21 12:22:23 2003
@@ -19,6 +19,7 @@
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Function.h"
#include "llvm/Constants.h"
+#include "llvm/iTerminators.h"
#include "llvm/DerivedTypes.h"
static const uint32_t MAXLO = (1 << 10) - 1; // set bits set by %lo(*)
More information about the llvm-commits
mailing list