Skip to content

Bug fix for correctness check #258

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

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Bug fix for correctness check #258

merged 1 commit into from
Aug 19, 2024

Conversation

crazydemo
Copy link

This PR related to Issue#257.

  1. set unknown op as legal
  2. remove unuesd clear() func

@crazydemo crazydemo linked an issue Aug 19, 2024 that may be closed by this pull request
Comment on lines -233 to -239
void FILOMemoryPool::clear() {
for (auto cur = current; cur; cur = cur->prev) {
cur->allocated = sizeof(MemoryBlock);
}
current = buffers;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this modification related to the issue?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. This is an extra modification, remove the useless function.

Copy link
Contributor

@xurui1995 xurui1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WangJialei-A WangJialei-A merged commit 8500551 into main Aug 19, 2024
4 checks passed
@crazydemo crazydemo deleted the zhangyan/fix_illegal_op branch September 2, 2024 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail to legalize operation on math dialect
3 participants