silence a bogus warning
authorChris Lattner <sabre@nondot.org>
Sun, 2 Oct 2005 16:30:51 +0000 (16:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Oct 2005 16:30:51 +0000 (16:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23595 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/ScheduleDAG.cpp

index 3a75d079b1cf47a58fa63c72c88c89f1cf6d4f40..4b81c9a4c6652ce57d15b7c73f1e6c58266707a8 100644 (file)
@@ -1186,7 +1186,7 @@ unsigned SimpleSched::EmitDAG(SDOperand Op) {
       }
       break;
     case ISD::CopyToReg: {
-      SDOperand FlagOp;
+      SDOperand FlagOp;  FlagOp.ResNo = 0;
       if (Op.getNumOperands() == 4) {
         FlagOp = Op.getOperand(3);
       }