[LLVMdev] adding a target dependent transform pass

Hal Finkel hfinkel at anl.gov
Wed Apr 3 16:37:13 PDT 2013


----- Original Message -----
> From: "Reed Kotler" <rkotler at mips.com>
> Cc: LLVMdev at cs.uiuc.edu
> Sent: Wednesday, April 3, 2013 6:30:56 PM
> Subject: Re: [LLVMdev] adding a target dependent transform pass
> 
> On 04/02/2013 03:31 PM, Reed Kotler wrote:
> > On 04/02/2013 03:00 PM, reed kotler wrote:
> >> How do you add a target dependent transform pass?
> >>
> >> tia.
> >>
> >> eed
> >
> > I need to add a module pass.
> 
> Do you need to just add them to the Transform subdirectory????

I might be missing some relevant context here, but have you looked at how the AMDGPUStructurizeCFG pass is added in R600/AMDGPUTargetMachine.cpp?

 -Hal

> 
> 
> 
> _______________________________________________
> 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