search for: numunreach

Displaying 1 result from an estimated 1 matches for "numunreach".

2019 Jun 04
2
is this a bug in PruneEH?
...= BB->splitBasicBlock(I); // Remove the uncond branch and add an unreachable. BB->getInstList().pop_back(); new UnreachableInst(BB->getContext(), &*BB); DeleteBasicBlock(New, CG); // Delete the new BB. MadeChange = true; ++NumUnreach; break; } The nested if in SimplifyFunction() will essentially eliminate the call to f2() in the definition of f1() in the source that is being compiled. Here is the before and after pass IR dumps: *** IR Dump Before Remove unused exception handling info *** ; Function Attrs: no...