[LLVMdev] Instructions that cannot be duplicated
devang.patel at gmail.com
Fri Oct 9 13:33:56 CDT 2009
On Fri, Oct 9, 2009 at 11:06 AM, Mon Ping Wang <monping at apple.com> wrote:
> Yes, this is the case. The platforms I'm thinking of don't support
> function calls and have the optimization-hostile barrier instructions.
> -- Mon Ping
How about you do two stage inlining for such platforms ?
1. Inline everything except barrier functions
2. Apply usual transformations
3. Inline barrier functions
More information about the LLVMdev