[LLVMdev] Instructions that cannot be duplicated
Devang Patel
devang.patel at gmail.com
Fri Oct 9 11:33:56 PDT 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
-
Devang
More information about the llvm-dev
mailing list