[llvm-dev] Disable optimization on basic block level

Matthias Braun via llvm-dev llvm-dev at lists.llvm.org
Fri Apr 21 09:48:33 PDT 2017


I don't think there is any way to do this in LLVM. What would that be useful for?

- Matthias

> On Apr 21, 2017, at 6:14 AM, Max Muster via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi folks, 
> 
> During an IR function pass I want to annotate certain basic blocks to avoid later optimization on them. I know I, I can disable optimization on function granularity, but how to do so on basic block level?
> 
> Cheers,
> Max
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list