[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp LoopStrengthReduce.cpp LowerPacked.cpp SCCP.cpp
Bill Wendling
isanbard at gmail.com
Wed Dec 6 17:31:58 PST 2006
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.561 -> 1.562
LoopStrengthReduce.cpp updated: 1.97 -> 1.98
LowerPacked.cpp updated: 1.12 -> 1.13
SCCP.cpp updated: 1.139 -> 1.140
---
Log message:
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp.
---
Diffs of the changes: (+10 -11)
InstructionCombining.cpp | 4 ++--
LoopStrengthReduce.cpp | 8 ++++----
LowerPacked.cpp | 3 +--
SCCP.cpp | 6 +++---
4 files changed, 10 insertions(+), 11 deletions(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.561 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.562
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.561 Wed Dec 6 14:39:57 2006
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Wed Dec 6 19:30:31 2006
@@ -7018,8 +7018,8 @@
// If we are removing arguments to the function, emit an obnoxious warning...
if (FT->getNumParams() < NumActualArgs)
if (!FT->isVarArg()) {
- llvm_cerr << "WARNING: While resolving call to function '"
- << Callee->getName() << "' arguments were dropped!\n";
+ cerr << "WARNING: While resolving call to function '"
+ << Callee->getName() << "' arguments were dropped!\n";
} else {
// Add all of the arguments in their promoted form to the arg list...
for (unsigned i = FT->getNumParams(); i != NumActualArgs; ++i, ++AI) {
Index: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff -u llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:1.97 llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:1.98
--- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:1.97 Wed Dec 6 11:46:33 2006
+++ llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp Wed Dec 6 19:30:31 2006
@@ -507,12 +507,12 @@
}
void BasedUser::dump() const {
- llvm_cerr << " Base=" << *Base;
- llvm_cerr << " Imm=" << *Imm;
+ cerr << " Base=" << *Base;
+ cerr << " Imm=" << *Imm;
if (EmittedBase)
- llvm_cerr << " EB=" << *EmittedBase;
+ cerr << " EB=" << *EmittedBase;
- llvm_cerr << " Inst: " << *Inst;
+ cerr << " Inst: " << *Inst;
}
Value *BasedUser::InsertCodeForBaseAtPosition(const SCEVHandle &NewBase,
Index: llvm/lib/Transforms/Scalar/LowerPacked.cpp
diff -u llvm/lib/Transforms/Scalar/LowerPacked.cpp:1.12 llvm/lib/Transforms/Scalar/LowerPacked.cpp:1.13
--- llvm/lib/Transforms/Scalar/LowerPacked.cpp:1.12 Sun Nov 26 19:05:10 2006
+++ llvm/lib/Transforms/Scalar/LowerPacked.cpp Wed Dec 6 19:30:31 2006
@@ -73,8 +73,7 @@
/// @param I the unhandled instruction
void visitInstruction(Instruction &I) {
if (isa<PackedType>(I.getType()))
- llvm_cerr << "Unhandled Instruction with Packed ReturnType: "
- << I << '\n';
+ cerr << "Unhandled Instruction with Packed ReturnType: " << I << '\n';
}
private:
/// @brief Retrieves lowered values for a packed value.
Index: llvm/lib/Transforms/Scalar/SCCP.cpp
diff -u llvm/lib/Transforms/Scalar/SCCP.cpp:1.139 llvm/lib/Transforms/Scalar/SCCP.cpp:1.140
--- llvm/lib/Transforms/Scalar/SCCP.cpp:1.139 Wed Dec 6 11:46:33 2006
+++ llvm/lib/Transforms/Scalar/SCCP.cpp Wed Dec 6 19:30:31 2006
@@ -350,7 +350,7 @@
void visitInstruction(Instruction &I) {
// If a new instruction is added to LLVM that we don't handle...
- llvm_cerr << "SCCP: Don't know how to handle: " << I;
+ cerr << "SCCP: Don't know how to handle: " << I;
markOverdefined(&I); // Just in case
}
};
@@ -400,7 +400,7 @@
Succs[0] = true;
}
} else {
- llvm_cerr << "SCCP: Don't know how to handle: " << TI;
+ cerr << "SCCP: Don't know how to handle: " << TI;
Succs.assign(TI.getNumSuccessors(), true);
}
}
@@ -459,7 +459,7 @@
}
return false;
} else {
- llvm_cerr << "Unknown terminator instruction: " << *TI;
+ cerr << "Unknown terminator instruction: " << *TI;
abort();
}
}
More information about the llvm-commits
mailing list