fschlimb wrote: Cool. Thanks for the extended test coverage! It would be nice if (some of) the code duplication could be avoided. Maybe a common base class or simply a simple static func that implements the core checks. https://github.com/llvm/llvm-project/pull/193906