Hi Wei, > It seems to me that LLVM is merging/in-lining the tail function to its > caller. > I am wondering if there is a flag that I can use to turn off this > optimization? do you want to turn off all inlining, or only inlining of calls that are tail calls? Why do you want to turn it off? Ciao, Duncan.