[LLVMdev] Best way to replace LLVM IR operation with code containing control flow?

Duncan Sands baldrick at free.fr
Tue Jun 19 00:45:16 PDT 2012


Hi Tyler,

> -Does anyone know where a backend-specific optimization can be added to replace
> an instruction with code containing control flow?

I think the backend lowering of atomic intrinsics generates control flow
(loops), so that may give you a clue.

Ciao, Duncan.



More information about the llvm-dev mailing list