simple assign il gen

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
il gen of function calls and returns

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>