[mlir][drr] Simple heuristic to reduce chance of accidental nullptr dereference
When an attribute is optional & is given an additional constraint in rewrite pattern that could lead to dereferencing null Attribute. Avoid cases where the constraints checks attribute but has no check if null. This should be improved to be more uniformly guarded.
Loading
Please sign in to comment