tail calls

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.

???

Wrong list; moving to llvmdev.