[LLVMdev] Enabling inlining

David Given dg at cowlark.com
Wed Sep 22 14:24:35 PDT 2010


On 22/09/10 18:07, Jim Grosbach wrote:
[...]
> Are you running 'opt' on your bitcode or otherwise manually running those passes?

Aha. After running opt I now have inlined (and much better) code.
Previously I'd been using llc -O3 to do the optimisation.

What's the different between opt -O3 and llc -O3, then?

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "To be is to do" -- Nietzche
│ "To do is to be" -- Sartre
│ "Do be do be do" -- Sinatra

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100922/edc0df2c/attachment.sig>


More information about the llvm-dev mailing list