[cfe-dev] clang/library collusion

Renato Golin via cfe-dev cfe-dev at lists.llvm.org
Wed May 25 02:55:58 PDT 2016


On 25 May 2016 at 01:44, Richard Smith via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> If you really want to do this in clang (per the above, I don't think that's
> a good idea), you should do it in clang's IR generation pass rather than
> modifying the AST. But I'd suggest you instead look at teaching LLVM to do
> this (maybe in dead argument elimination), and from Clang just inform the
> relevant LLVM pass that it can do this transformation.

Isn't this more suitable to LTO DCE?

cheers,
--renato



More information about the cfe-dev mailing list