[LLVMdev] -inline odd behavior

Ryan Taylor ryta1203 at gmail.com
Fri Feb 10 14:38:56 PST 2012


I have some code that has one function and if I use the-inline on it then
these opts eliminate the entire function (which is the entire file).

Bugpoint produces bugpoint-reduced-simplified.bc, but when I then run "opt
bugpoint-reduced-simplified.bc -inline" I get nothing, file get emptied.

It doesn't crash or assert. I have attached a test case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120210/f910ce66/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline_test.ll
Type: application/octet-stream
Size: 13784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120210/f910ce66/attachment.obj>


More information about the llvm-dev mailing list