================ @@ -98,6 +98,10 @@ #include <vector> namespace llvm { +namespace impl_detail { +class MachineSchedulerImpl; +class PostMachineSchedulerImpl; +} // namespace impl_detail ---------------- optimisan wrote: Yes https://github.com/llvm/llvm-project/pull/126684