[LLVMdev] libcalls for shifts

Johannes Birgmeier e0902998 at student.tuwien.ac.at
Tue Jan 10 23:44:46 PST 2012


>  Try a custom lowering of the 64bit shift instructions and then in the Lower[SRL|SHL|SRA] function, generate a call instruction to the function you want.

Yes, that's what I've done now. The slightly ugly thing is, of course,
that I have to copy the MakeLibCall function into our own backend (not
exactly clean).

Cheers,
Johannes



More information about the llvm-dev mailing list