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

Evan Cheng
Fri, 22 Jan 2010 18:29:06 -0000

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