summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-06 11:13:55 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-06 11:13:55 +0000
commita8e15b0892ea39d95d6c18a177fd691900019be3 (patch)
tree738553da4506019794241ad838f661b15ceb9086 /llvm/lib/CodeGen
parentf9caa28ccfe8be498dc2f454946286d297e11178 (diff)
downloadbcm5719-llvm-a8e15b0892ea39d95d6c18a177fd691900019be3.tar.gz
bcm5719-llvm-a8e15b0892ea39d95d6c18a177fd691900019be3.zip
Fix a few old-GCC warnings. No functional change.
llvm-svn: 163309
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index cbc7352f6f4..dcaa9ba9230 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2440,7 +2440,7 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
if (N0 == N1) {
// The sext(setcc()) => setcc() optimization relies on the appropriate
// constant being emitted.
- uint64_t EqVal;
+ uint64_t EqVal = 0;
switch (getBooleanContents(N0.getValueType().isVector())) {
case UndefinedBooleanContent:
case ZeroOrOneBooleanContent:
OpenPOWER on IntegriCloud