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

implement llvm-cov #780

Merged
merged 1 commit into from
Nov 27, 2023
Merged

implement llvm-cov #780

merged 1 commit into from
Nov 27, 2023

Conversation

makslevental
Copy link
Contributor

@makslevental makslevental commented Nov 26, 2023

This PR implements a generate-aie-coverage-report build target that generates a test/code coverage report using llvm-cov and llvm-profdata (i.e., you need to compile with clang). This PR also implements an additional CI job that appends the coverage report to every PR (seen below).

@makslevental makslevental changed the title wip code coverage Nov 26, 2023
@makslevental makslevental changed the title code coverage implement llvm-cov Nov 26, 2023
@makslevental makslevental force-pushed the code-coverage branch 20 times, most recently from 87ec799 to f6940fe Compare November 26, 2023 22:29
Copy link
Contributor

github-actions bot commented Nov 26, 2023

Coverage Report

Created: 2023-11-27 05:39

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
Conversion/AIEVecToLLVM/AIEVecToLLVM.cpp 80.65% 89.84% 77.14% 64.55%
Dialect/AIEVec/TransformOps/DialectExtension.cpp 100.00% 100.00% 100.00% -
Dialect/AIEVec/Transforms/AIEVecOptimizations.cpp 80.65% 85.13% 83.44% 65.00%
Dialect/AIEVec/Transforms/AIEVectorize.cpp 98.97% 90.62% 87.15% 72.63%
Dialect/AIEVec/Transforms/FoldMulAddChainToConvOp.cpp 92.31% 70.39% 71.32% 51.98%
Dialect/AIEVec/Transforms/VectorToAIEVecConversions.cpp 69.60% 63.04% 48.59% 40.58%
Dialect/AIEVec/Transforms/VectorToVectorConversions.cpp 88.00% 90.34% 88.04% 76.56%
Dialect/AIEX/IR/AIEXDialect.cpp 100.00% 86.27% 88.17% 72.06%
Totals 83.72% 76.59% 68.64% 56.32%
Generated by llvm-cov -- llvm version 14.0.0

@makslevental makslevental force-pushed the code-coverage branch 25 times, most recently from 4308bdd to 3963e43 Compare November 27, 2023 05:16
@makslevental makslevental merged commit f0beedd into main Nov 27, 2023
6 checks passed
@makslevental makslevental deleted the code-coverage branch November 27, 2023 05:40
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.

2 participants