diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 74174519fb36..fb4de574a85f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -207,8 +207,7 @@ FastISel::SelectInstructions(BasicBlock::iterator Begin, // The unconditional fall-through case, which needs no instructions. } else { // The unconditional branch case. - const SmallVector NoCond(0); - TII.InsertBranch(*MBB, MSucc, NULL, NoCond); + TII.InsertBranch(*MBB, MSucc, NULL, SmallVector()); } MBB->addSuccessor(MSucc); break;