artagnon wrote: Current status: managed to limit the cse to some recipes. All tests have been updated, and there is no crash. This patch is now ready to review. https://github.com/llvm/llvm-project/pull/151872