huangjd added a comment. @weiwang Have you tried to generate a flame graph showing how much time each function takes? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158689/new/ https://reviews.llvm.org/D158689