[LLVMdev] RFC: The free function llvm::SimplifyCFG isn't used by any in-tree code, can we kill it?

Reid Kleckner
Sun, 01 Feb 2015 18:09:29 -0000

This is the simplifycfg utility function that takes a worklist of BBs? I
was planning on using it to fix http://llvm.org/pr20300. The pass would
identify unreachable resumes, convert them to unreachable, and ask
simplifycfg to propagate that backwards. Is that the right approach, or do
I have the wrong pass?

On Sun, Feb 1, 2015 at 3:08 AM, Chandler Carruth <chandlerc at gmail.com>
wrote:

> More precisely, its only used within its own implementation and via the
> pass. Wondering if we should just sink all the code into the pass rather
> than having a free function.
>
> -Chandler
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150201/3608f899/attachment.html>