kosarev wrote: > And you configured with `-DLLVM_ENABLE_EXPENSIVE_CHECKS=ON` ? Yes. I used to catch exactly this kind of problems myself: https://github.com/llvm/llvm-project/issues/68594 https://github.com/llvm/llvm-project/pull/183371