[PATCH] Move CodeGenPrepare into lib/CodeGen

Quentin Colombet qcolombet at apple.com
Thu Feb 20 11:30:58 PST 2014


Hi Lang,

On Feb 20, 2014, at 10:18 AM, Lang Hames <lhames at gmail.com> wrote:

> Hi All,
> 
>>> I agree, I don't see why we're conflating all of these different things. Can we not move the pass into CodeGen, and then deal with adding IR-pass-driving features into llc as a follow-up matter?
>>> 
> 
> Absolutely. Sorry - I should have been clearer, but I'm all for this.
> I'm just suggesting that making opt depend on CodeGen should be a
> temporary hack while we teach llc how to run IR -> IR passes neatly.
> Then the CGP tests should be updated to use llc rather than opt.
Technically speaking, opt was already linking against codegen, but I added the reference to the library explicitly. I haven’t checked why though.

-Quentin

> 
> - Lang.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list