Initialize variable to get rid of clang warning.
authorBill Wendling <isanbard@gmail.com>
Wed, 26 Jan 2011 22:21:35 +0000 (22:21 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 26 Jan 2011 22:21:35 +0000 (22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124331 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index 355758ac5dd3ba53099d3dec3ae1b16474ca4e6a..9c35b40012b561de05f17357dc4e6d2c97e3c213 100644 (file)
@@ -814,7 +814,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
   bool isCustom = false;
 
   // Figure out the correct action; the way to query this varies by opcode
-  TargetLowering::LegalizeAction Action;
+  TargetLowering::LegalizeAction Action = TargetLowering::Legal;
   bool SimpleFinishLegalizing = true;
   switch (Node->getOpcode()) {
   case ISD::INTRINSIC_W_CHAIN: