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

Kenneth Uildriks
Fri, 22 Jan 2010 20:11:43 -0000

On Fri, Jan 22, 2010 at 12:29 PM, Evan Cheng <evan.cheng at apple.com>
wrote:
> 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
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

So if you run the JIT on a module, the content of that module might change?