nico wrote: ProfileTests probably fails to link after this change, and the right fix is _not_ to make it depend on Rewrite, but to fix the layering violation. If it takes a while, consider reverting while you work on the fix. https://github.com/llvm/llvm-project/pull/92621