Silence a warning.
authorChris Lattner <sabre@nondot.org>
Sun, 23 Jan 2005 23:20:06 +0000 (23:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Jan 2005 23:20:06 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19798 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelPattern.cpp

index ae58afbf31000affe3acd125db6b8e3c54c27571..81ef547292aeb95d9909549d91786c621260e649 100644 (file)
@@ -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<ConstantSDNode>(Op1)) {
     switch (Op0.getValueType()) { // Use Op0's type because of shifts.
     default: break;