nico wrote: Aha, it assumes that the build is with assertions enabled, which isn't always true. (Do a release build, or a debug build with `-DLLVM_ENABLE_ASSERTIONS=NO`.) How about just reverting this and landing the test together with the fix? https://github.com/llvm/llvm-project/pull/75116