From 0e1de101a14db117502dc02018a959a51b71f5fd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 Jan 2005 23:20:06 +0000 Subject: [PATCH] Silence a warning. llvm-svn: 19798 --- llvm/lib/Target/X86/X86ISelPattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86ISelPattern.cpp b/llvm/lib/Target/X86/X86ISelPattern.cpp index ae58afbf3100..81ef547292ae 100644 --- a/llvm/lib/Target/X86/X86ISelPattern.cpp +++ b/llvm/lib/Target/X86/X86ISelPattern.cpp @@ -2587,7 +2587,7 @@ bool ISel::TryToFoldLoadOpStore(SDNode *Node) { // Handle: [mem] op= CST SDOperand Op0 = StVal.getOperand(0); SDOperand Op1 = StVal.getOperand(1); - unsigned Opc; + unsigned Opc = 0; if (ConstantSDNode *CN = dyn_cast(Op1)) { switch (Op0.getValueType()) { // Use Op0's type because of shifts. default: break;