summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
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
commite757640df0615510dbc42921cf6271aa76c405ee (patch)
tree197f43d90e08c1236062398b1ee29bb210681d46 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parenta76d7d64a4aa39e459f0807143a95c2a1c046f9f (diff)
downloadllvm-e757640df0615510dbc42921cf6271aa76c405ee.tar.gz
llvm-e757640df0615510dbc42921cf6271aa76c405ee.tar.bz2
llvm-e757640df0615510dbc42921cf6271aa76c405ee.tar.xz
Fix a few old-GCC warnings. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index cbc7352f6f..dcaa9ba923 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/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: