-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REFACTOR][IR] alpha_equal to structural_equal #5161
Conversation
7084d5c
to
0795a86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@zhiics please rebase and check the testcases |
@tqchen sure. Seems a few tests are broken. I will look into after base. |
5762186
to
de1ced1
Compare
de1ced1
to
4308d59
Compare
@zhiics can you comment a bit about what test-cases hit the incomplete type handling? That part might need some extra thoughts, I can merge this PR for now and we follow up on the particular item. cc @jroesch @MarisaKirisame |
I see, seems it makes sense now then. Thanks @zhiics ! |
#5159
This PR finishes the first three items of #5159:
Replace
alpha_equal/type_alaph_equal
andassert_alpha_equal
from withstructural_equal
Replace all
AlphaEqual(lhs, rhs)
in C++ withStructuralEqual()(lhs, rhs)
Remove analysis/alpha_equal.cc
A few bugs are also fixed in this PR.
A followup PR needs to remove the
AttrEqual
andAlphaEqualHandler
from C++.