Repository navigation
[Relax][Analysis] Validate FuncStructInfo correctness - #16833
Lunderberg wants to merge 2 commits into
Conversation
Any `FuncStructInfo` annotations should be correct.
slyubomirsky
left a comment
There was a problem hiding this comment.
Good catch, also good to have regression tests.
|
Thank you! CI has found a surprising number of failures for this check. It looks like the new check requiring the same For now, I think I'll make the check looser, using |
|
Well, a check that finds a large number of errors is a good check to have, and a good source of cleanup. Unfortunately, I think it means that this PR will need to sit until I have time to clean them up. The current CI failures are due to transforms that update a function's signature, but do not propagate that change to the |
|
This PR has been stalled for a while, in part because there are a large number of passes that will need to be updated. The |
Prior to this PR, the well-formed checker did not validate the
FuncStructInfoannotations. While theseFuncStructInfoannotations are generated during construction, they can be invalidated byCopyOnWrite(). This commit adds validation of theFuncStructInfoto the well-formed checker.