Open
Description
since we are developing more and more dialects. It is now worth thinking how we should do validations. There are many different things to verify here:
- the statement
verify
method that checks if the statement constructed correctly - the statement
typecheck
method that checks if the statement typed correctly - a simple IR walk that checks e.g any statement doesn't belong to the current dialect group
- an actual analysis pass that asserts sizes, bounds check etc.