[llvm-commits] [llvm] r166595 - /llvm/trunk/tools/opt/opt.cpp
Nadav Rotem
nrotem at apple.com
Wed Oct 24 11:05:23 PDT 2012
Duncan,
On Oct 24, 2012, at 10:47 AM, Duncan Sands <baldrick at free.fr> wrote:
> it's pretty nasty that an IR level tool like opt is now having to
> initialize asm printers and parsers. Why is this needed?
It is not needed. I removed it.
> I thought
> you had created a limited and tightly controlled interface to provide
> target cost information, but instead it looks like you are pulling in
> vast amounts of target stuff...
We do have a small interface. But the implementation of this interface needs to access TLI. So, we need to link with the codegen.
Thanks,
Nadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121024/28165f0d/attachment.html>
More information about the llvm-commits
mailing list