On Tue, Jul 21, 2026 at 12:06:06PM +0200, Arsen Arsenović wrote: > It is an improvement. The former detects errors at runtime, meaning
It is not an improvement, it is extra pain.
Look at all the dyn_cast for gswitch *, gcall *, gphi *, gcond * etc.
one has to add to so many places just to get around this.
I hate it very much. Please don't add more of this.
Runtime checking is just fine, one shouldn't introduce code paths in the
compiler that aren't tested by the testsuite anyway.
Jakub
