Skip to content
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

Update objectfifo lock analysis #1864

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Update objectfifo lock analysis #1864

merged 2 commits into from
Oct 22, 2024

Conversation

AndraBisca
Copy link
Collaborator

This PR replaces the lock analysis in AIEObjectFifoStatefulTransform.cpp with a walk instead of getOps as AIE_LockOps might be created in a DMA region and, without this change, wouldn't be accounted for.

Copy link
Contributor

github-actions bot commented Oct 22, 2024

Coverage Report

Created: 2024-10-22 15:37

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
home/runner/work/mlir-aie/mlir-aie/lib/Dialect/AIE/Transforms/AIEObjectFifoStatefulTransform.cpp 100.00% 93.85% 91.71% 85.51%
Totals 100.00% 93.85% 91.71% 85.51%
Generated by llvm-cov -- llvm version 14.0.0

@jgmelber
Copy link
Collaborator

might be created in a DMA region and, without this change, wouldn't be accounted for.

Do you have a test for this case?

@jgmelber jgmelber added this pull request to the merge queue Oct 22, 2024
Merged via the queue into main with commit a947ebe Oct 22, 2024
51 checks passed
@jgmelber jgmelber deleted the objfifo-small-fix branch October 22, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants