Fix build bot breakage

llvm-svn: 258661
This commit is contained in:
David Majnemer 2016-01-24 16:46:53 +00:00
parent 5c7f16be6b
commit eec878574e
1 changed files with 1 additions and 1 deletions

View File

@ -1806,7 +1806,7 @@ bool IPSCCP::runOnModule(Module &M) {
++NumDeadBlocks;
NumInstRemoved +=
changeToUnreachable(&*BB->begin(), /*UseLLVMTrap=*/false);
changeToUnreachable(BB->getFirstNonPHI(), /*UseLLVMTrap=*/false);
MadeChanges = true;