[LLVMdev] creating a loop in lowering code

Bagel bagel99 at gmail.com
Sun Sep 27 15:05:13 PDT 2009

The MSP430 only has 1-bit shifts.  In the lowering code, I would like to create 
a small loop to do multiple bit shifts.  I assume that I have to create a new 
basic block, and figure out the chain stuff.

Is there code in some backend, or generic lowering support, that does a similar 
thing?  Could someone point me to it?


More information about the llvm-dev mailing list