[LLVMdev] Shift operation expansion

Sachin.Punyani at microchip.com Sachin.Punyani at microchip.com
Wed Nov 12 21:14:49 PST 2008



My target supports shift with amount 1 only i.e. to shift a value by 5
bits, I need to have a loop with shift in the body. Similarly for the
unknown amount of shift we need to have a loop for shift. 


1)       How can I insert this loop in DAG for shift operation?

2)       Is there a way where I can have a call to a function and later
expand to the shift code?


Which would be the better way to implement this?




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

More information about the llvm-dev mailing list