Issue 139831
Summary Easiest way to force inline every function other than entry? (LLVM12)
Labels new issue
Assignees
Reporter alexthomasv
    Is there an easy way to inline every single function except entry? You can assume there is no recursion. Currently I have an LLVM file that has the attributes noinline, and I attempted to forcibly remove each one using 

`opt-12 -force-remove-attribute=noinline -force-remove-attribute=optnone -forceattrs test_opt.bc` 

but this didn't actually change any of the attributes. After this, my plan was to force every function to have always-inline, but I can't even remove the noinline attributes of my program first. What's the best way to inline every single function except entry? Thank you!
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to