[LLVMdev] [LLVMDev] Is it possible to implement target specific optimizations which can be applied after instruction selection or later?

Evan Cheng evan.cheng at apple.com
Fri Jan 22 10:29:06 PST 2010


Yes. There are lots of examples of this. For example ARM target has a number of specific optimization passes. See ARMTargetMachine.cpp addPreEmitPass() etc. for examples of how they are added to codegen pass manager.

Evan

On Jan 19, 2010, at 11:34 PM, minwook Ahn wrote:

> Dear developers.
> 
> My question is the same as the title.
> Is there any way to implement target specific optimizations after instruction selection or later?
> 
> I cannot find any related document. Please let me know.
> 
> Thanks in advance.
> 
> Minwook Ahn
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list