Open
Description
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!