================ @@ -152,6 +152,12 @@ struct MCSchedClassDesc { } }; +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) ---------------- topperc wrote: What do the static_asserts protect? https://github.com/llvm/llvm-project/pull/202649