https://github.com/DonatNagyE commented: The only thing that I know about the dynamic type handling is that it's not too reliable; it would be great if you could improve it. https://github.com/llvm/llvm-project/pull/69057