Displaying 2 results from an estimated 2 matches for "2634733f".
2016 Mar 08
3
Deleting function IR after codegen
...tions will just keep their IR around so no changes there.
>
>
> Oh well. Conveniently there aren't a lot of these.
>
> -eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160308/2634733f/attachment.html>
2016 Mar 08
11
Deleting function IR after codegen
Hi all
After codegen for a given function, the IR should no longer be needed. In the AsmPrinter we convert from MI->MCInstr, and then we never go back and look at the IR during the MC layer.
I’ve prototyped a simple pass which can be (optionally) scheduled to do just this. It is added at the end of addPassesToEmitFile. It is optional so that clang can continue to leak the IR with