Hi Krzysztof,
Thanks for reply, I checked that and it seems to be ok.
How ever I noticed that my build is have this problem on other architectures too. Only x86 is generating return instruction. Also epilogue loads are also missing.
I think I have done some thing wrong to some target independent code.
-Vivek