[llvm] r364536 - [Backend] Keep call site info valid through the backend

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 09:06:55 PDT 2019



> On Jun 27, 2019, at 09:10, Djordje Todorovic via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
>   UseMI->eraseFromParent();
> +  if (UseMI->isCall())
> +    UseMI->getMF()->updateCallSiteInfo(UseMI, FoldMI);


This is a use after free?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/6bf65a1e/attachment-0001.html>


More information about the llvm-commits mailing list