[LLVMdev] tail call
Reed Kotler
rkotler at mips.com
Tue Dec 17 12:32:57 PST 2013
On 12/17/2013 11:29 AM, reed kotler wrote:
> I have a pass which operates on IR for mips16 so that I can build stubs
> and such for floating point.
>
> I usually get this attribute of the call instruction getCalledFunction.
>
> This is turning out to be null when there is a tail call. (I think this
> may be something new but maybe was there already).
>
> So then what is the right way to find the function prototype for the call?
>
> TIA.
>
> Reed
I'm guessing that maybe I should be using
CI->getCalledValue().VTy
Where CI is the call instruction.
???
More information about the llvm-dev
mailing list