silence a bogus warning Duraid ran into.
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jun 2007 05:43:49 +0000 (05:43 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jun 2007 05:43:49 +0000 (05:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37649 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InstructionCombining.cpp

index 70bd8a80818689e19fc37ca6dbade5aba1e9d3c2..3218f7aa906cb8ef1053d3c59c0cf5f7d56d4a78 100644 (file)
@@ -3808,7 +3808,7 @@ Instruction *InstCombiner::visitOr(BinaryOperator &I) {
   }
 
   // (A & C)|(B & D)
-  Value *C, *D;
+  Value *C = 0, *D = 0;
   if (match(Op0, m_And(m_Value(A), m_Value(C))) &&
       match(Op1, m_And(m_Value(B), m_Value(D)))) {
     Value *V1 = 0, *V2 = 0, *V3 = 0;