[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 23 15:20:21 PST 2005
Changes in directory llvm/lib/Target/X86:
X86ISelPattern.cpp updated: 1.86 -> 1.87
---
Log message:
Silence a warning.
---
Diffs of the changes: (+1 -1)
X86ISelPattern.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.86 llvm/lib/Target/X86/X86ISelPattern.cpp:1.87
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.86 Fri Jan 21 15:43:02 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp Sun Jan 23 17:20:06 2005
@@ -2587,7 +2587,7 @@
// Handle: [mem] op= CST
SDOperand Op0 = StVal.getOperand(0);
SDOperand Op1 = StVal.getOperand(1);
- unsigned Opc;
+ unsigned Opc = 0;
if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Op1)) {
switch (Op0.getValueType()) { // Use Op0's type because of shifts.
default: break;
More information about the llvm-commits
mailing list