hassnaaHamdi wrote: Hi @teresajohnson what do you think? For the case of PGO, I think we may disable it. I think The speculative devirtualization is useful for cases where we don't have enough information. https://github.com/llvm/llvm-project/pull/141777