[LLVMdev] SelectionDAG, loops

Jonas Paulsson jnspaulsson at hotmail.com
Thu Jan 20 06:19:25 PST 2011


Hi,

I am trying to rewrite loop addressing to suit my target. I wonder if there is a simple way to find out if the current SelectionDAG is a loop-body?

I tried to rewrite LLVM code to do address arithmetic, ie %nextaddr = add i16* %curraddr, 4, but I could not find a way to make this work.

thanks,

Jonas

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110120/8abf74a5/attachment.html>


More information about the llvm-dev mailing list