[PATCH] Move CodeGenPrepare into lib/CodeGen

Lang Hames lhames at gmail.com
Thu Feb 20 10:18:44 PST 2014


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.

- Lang.



More information about the llvm-commits mailing list