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

Eric Christopher echristo at gmail.com
Wed Dec 12 11:32:35 PST 2012


>
>
> 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?

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


More information about the llvm-commits mailing list