[LLVMdev] creating a loop in lowering code

Anton Korobeynikov anton at korobeynikov.info
Sun Sep 27 15:22:21 PDT 2009


Hello

> 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.
This might be tricky in general. Why cannot you just emit a libcall?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list