[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

Chris Lattner sabre at nondot.org
Mon Jun 18 22:44:11 PDT 2007



Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.772 -> 1.773
---
Log message:

silence a bogus warning Duraid ran into.



---
Diffs of the changes:  (+1 -1)

 InstructionCombining.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.772 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.773
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.772	Fri Jun 15 01:23:19 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Tue Jun 19 00:43:49 2007
@@ -3808,7 +3808,7 @@
   }
 
   // (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;






More information about the llvm-commits mailing list