[PATCH] Move CodeGenPrepare into lib/CodeGen

Lang Hames lhames at gmail.com
Wed Feb 19 20:00:39 PST 2014


Hey All,

> To keep going into that direction, I'd love a tool (opt or other) that would
> handle IR to IR, IR to MIR (format not defined), and MIR to MIR. My point is
> making the distinction between code gen-ish passes and transform passes does
> not make much sense to me.

Do you mean a single tool? I don't have any objection to that, but the
new tool would still have to solve the problem of invoking single IR
-> IR passes without running any MIR passes, which seems like the same
problem we're now facing in llc? If that's true, then I'd be inclined
to tackle it within llc for now (borrowing ideas/infrastructure from
opt where appropriate). Later, if we decide it's not worth keeping the
tools separate, we could merge llc and opt.

- Lang.



More information about the llvm-commits mailing list