Emit cast instead of dyn_cast_or_null where attribute is required.
If the attribute needs to exist for the validity of the op, then no need to use dyn_cast_or_null as the op would be invalid in the cases where cast fails, so just use cast. -- PiperOrigin-RevId: 247617696
Loading
Please sign in to comment