[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Feb 22 21:57:34 PST 2005
Changes in directory llvm/lib/Target/X86:
X86ISelPattern.cpp updated: 1.89 -> 1.90
---
Log message:
Silence some uninit variable warnings.
---
Diffs of the changes: (+2 -0)
X86ISelPattern.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.89 llvm/lib/Target/X86/X86ISelPattern.cpp:1.90
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.89 Tue Jan 25 14:35:10 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp Tue Feb 22 23:57:21 2005
@@ -2933,6 +2933,7 @@
RP.push_back(std::make_pair(getRegPressure(N.getOperand(2)), 2));
std::sort(RP.begin(), RP.end());
+ Tmp1 = 0; // Silence a warning.
for (unsigned i = 0; i != 3; ++i)
switch (RP[2-i].second) {
default: assert(0 && "Unknown operand number!");
@@ -2989,6 +2990,7 @@
RP.push_back(std::make_pair(getRegPressure(N.getOperand(2)), 2));
std::sort(RP.begin(), RP.end());
+ Tmp1 = 0; // Silence a warning.
for (unsigned i = 0; i != 3; ++i)
switch (RP[2-i].second) {
default: assert(0 && "Unknown operand number!");
More information about the llvm-commits
mailing list