convert llvm ir to selection Dag

Hi,

Thanks for your reply.

I have gone through the tutorial how to write llvm pass .. and but not able to figure out how should i proceed for this pass..

Can u please tell me some starting point for this..

Let say i have some add function..

define <4xfloat> add(<4xfloat>% in1, <4xfloat>% in2)
{
entry:
      %0 = fadd <4xfloat> %in1, %in2
      ret <4xfloat> %0
}

Thanks & Regards,
Pachauri

Sender : Eli Friedman<eli.friedman@gmail.com>
Title : Re: [LLVMdev] convert llvm ir to selection Dag