kazutakahirata wrote: @nikic Thank you for pointing out the opportunities to call `dyn_cast<T>` and `cast<T>`. Let me create a separate PR for these non-mechanical migrations. https://github.com/llvm/llvm-project/pull/123692