[llvm-commits] [PATCH] Take into account minimize size attribute in the inliner

Quentin Colombet qcolombet at apple.com
Wed Dec 12 11:36:29 PST 2012


On Dec 12, 2012, at 11:32 AM, Eric Christopher <echristo at gmail.com> wrote:

> 
> 
>  
> I had a phasing issue as llvm output was already inlined. That's why I did a clang test since I used clang as run command.
> I am not super familiar to llvm phasing, thus how should I produce an input for a backend test in that case?
> 
> 
> Probably the easiest way would be to use clang -O0 to generate a .ll file out of your testcase, clean it up a bit to test only what you want and then run opt -inline to see what is and isn't being inlined before and after your test.
> 
> Make sense?
Perfect sense, thanks!
Actually I've just seen that.

-Quentin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121212/ae09d784/attachment.html>


More information about the llvm-commits mailing list