[LLVMdev] Custom lowering of Store !

Evan Cheng evan.cheng at apple.com
Tue Aug 19 18:13:37 PDT 2008


You have to modify SelectionDAGLegalize::LegalizeOp. Under case  
ISD::STORE: add code to handle custom lowering of store nodes.

Evan
On Aug 18, 2008, at 12:01 PM, Alireza.Moshtaghi at microchip.com wrote:

> How can I custom lower the ISD::STORE?
> I am using -enable-legalize-types and trying to customize most of our
> operations in xxxTargetLowering::ReplaceNodeResults(...)
> There are hooks to get trunk-store and indexed-store customized,
> But I can't get regular STORE customized...
> Any suggestions?
>
> Thanks
> Alireza Moshtaghi
> Senior Software Engineer
> Development Systems, Microchip Technology
>
> _______________________________________________
> 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