joker.eph added a comment. And thanks for working on this! We were talking internally about improving GlobalOpt just two weeks ago on this aspect of recursive function detection :) Repository: rL LLVM http://reviews.llvm.org/D14148