[CodeGen] Only print successors when the list is not empty
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 9 Feb 2018 00:12:53 +0000 (00:12 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 9 Feb 2018 00:12:53 +0000 (00:12 +0000)
commita37e00968eafc83bbcdc8e31a49767ea3868d762
treeb264134df1de1da60400005ada99029b62671466
parent39ec2e95ae6bb24940a1aecdf51d4a096cc0c9de
[CodeGen] Only print successors when the list is not empty

Follow-up of r324685.

llvm-svn: 324686
llvm/lib/CodeGen/MachineBasicBlock.cpp