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

Cleanup calls to dyn_cast #980

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Cleanup calls to dyn_cast #980

wants to merge 6 commits into from

Conversation

AndraBisca
Copy link
Collaborator

No description provided.

lib/Dialect/AIEX/Transforms/AIECreateBroadcastPacket.cpp Outdated Show resolved Hide resolved
lib/Dialect/AIEX/Transforms/AIECreateBroadcastPacket.cpp Outdated Show resolved Hide resolved
lib/Dialect/AIEX/Transforms/AIEHerdRouting.cpp Outdated Show resolved Hide resolved
lib/Dialect/AIEX/Transforms/AIEHerdRouting.cpp Outdated Show resolved Hide resolved
lib/Dialect/AIEX/Transforms/AIEHerdRouting.cpp Outdated Show resolved Hide resolved
lib/Dialect/AIEX/Transforms/AIELowerMulticast.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Feb 7, 2024

Coverage Report

Created: 2024-02-07 16:22

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
AIE/IR/AIEDialect.cpp 92.31% 82.67% 85.15% 75.00%
AIE/Transforms/AIECreatePacketFlows.cpp 90.00% 83.62% 73.77% 61.04%
AIE/Transforms/AIELocalizeLocks.cpp 100.00% 96.15% 95.83% 95.00%
AIE/Transforms/AIEObjectFifoStatefulTransform.cpp 100.00% 95.66% 94.62% 89.73%
AIEX/Transforms/AIECreateBroadcastPacket.cpp 100.00% 98.00% 92.31% 91.67%
AIEX/Transforms/AIECreateCores.cpp 100.00% 93.98% 96.15% 80.43%
AIEX/Transforms/AIECreateLocks.cpp 100.00% 95.10% 76.60% 52.22%
AIEX/Transforms/AIEHerdRouting.cpp 16.67% 1.32% 0.63% 0.00%
AIEX/Transforms/AIELowerMemcpy.cpp 100.00% 97.26% 90.00% 75.00%
AIEX/Transforms/AIELowerMulticast.cpp 100.00% 96.97% 90.00% 87.50%
Totals 92.57% 84.13% 79.04% 70.33%
Generated by llvm-cov -- llvm version 14.0.0

Comment on lines 1180 to +1181
{totalLength},
srcs[0].getType().dyn_cast<VectorType>().getElementType()));
srcs[0].getType().cast<VectorType>().getElementType()));
Copy link
Contributor

Choose a reason for hiding this comment

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

[clang-format] reported by reviewdog 🐶

Suggested change
{totalLength},
srcs[0].getType().dyn_cast<VectorType>().getElementType()));
srcs[0].getType().cast<VectorType>().getElementType()));
{totalLength}, srcs[0].getType().cast<VectorType>().getElementType()));

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