forked from OSchip/llvm-project
parent
5c7f16be6b
commit
eec878574e
|
@ -1806,7 +1806,7 @@ bool IPSCCP::runOnModule(Module &M) {
|
|||
|
||||
++NumDeadBlocks;
|
||||
NumInstRemoved +=
|
||||
changeToUnreachable(&*BB->begin(), /*UseLLVMTrap=*/false);
|
||||
changeToUnreachable(BB->getFirstNonPHI(), /*UseLLVMTrap=*/false);
|
||||
|
||||
MadeChanges = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue