[LLVMdev] convert llvm ir to selection Dag

Bob Wilson bob.wilson at apple.com
Fri Oct 1 08:51:45 PDT 2010


On Sep 30, 2010, at 11:33 PM, Kulbhushan Pachauri wrote:

> Hi,
>  
> Can anyone please tell me how can I scalarize or de-vectorize the llvm vector ir.  
> In this (http://old.nabble.com/Re%3A-Thoughts-about-the-llvm-architecture---p29617203.html)  thread
> I  found LegalizeTypes will do this while generating machine code from llvm ir..
>  
> How do I convert llvm ir to selection Dag. And scalarize the vector ir and again get back llvm ir…

I'm not aware of any existing support for that.  Once the LLVM IR is converted to a SelectionDAG, we don't ever convert it back to LLVM IR.



More information about the llvm-dev mailing list