summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-06-19 05:43:49 +0000
committerChris Lattner <sabre@nondot.org>2007-06-19 05:43:49 +0000
commit09a33a4f64312159f94217e72025e8efb263fe89 (patch)
treeef416cd1da31e41140745cad03c4f0f3af67bf6d /llvm/lib/Transforms
parent3552c9e845203188c672bb634599c61cb8f9539b (diff)
downloadbcm5719-llvm-09a33a4f64312159f94217e72025e8efb263fe89.tar.gz
bcm5719-llvm-09a33a4f64312159f94217e72025e8efb263fe89.zip
silence a bogus warning Duraid ran into.
llvm-svn: 37649
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 70bd8a80818..3218f7aa906 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -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;
OpenPOWER on IntegriCloud