🚛 Move mapping pass files to QCO/Transforms#1547
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughSummary by CodeRabbit
WalkthroughMove QCO pass sources/headers into mlir/Dialect/QCO/Transforms: remove top-level Passes subdirs from global build/test CMake files, add Transforms subdirs to QCO CMake files, update include paths, rename generated tablegen targets, and adjust test target linkages and changelog PR references. Changes
Sequence Diagram(s)(omitted — changes are build and include reorganization without a multi-component sequential runtime flow) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@mlir/lib/Dialect/QCO/CMakeLists.txt`:
- Line 11: The install/export header globs for the QcoPasses target were not
updated after moving headers into mlir/lib/Dialect/QCO/Transforms, so QcoPasses
will miss those headers; open mlir/lib/Dialect/QCO/Transforms/CMakeLists.txt and
update the QcoPasses PUBLIC_HEADER (or the install/export header list) to
include the relocated patterns (e.g., add mlir/Dialect/QCO/Transforms/*.h and
*.inc or adjust the existing mlir/Passes/*.h and *.inc globs) so the
installed/exported QcoPasses target contains the new header locations and
rebuilds/install will export them correctly.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 150b5555-aa2d-4456-ab47-04040f84ea9f
📒 Files selected for processing (16)
mlir/include/mlir/CMakeLists.txtmlir/include/mlir/Dialect/QCO/CMakeLists.txtmlir/include/mlir/Dialect/QCO/Transforms/CMakeLists.txtmlir/include/mlir/Dialect/QCO/Transforms/Mapping/Architecture.hmlir/include/mlir/Dialect/QCO/Transforms/Passes.hmlir/include/mlir/Dialect/QCO/Transforms/Passes.tdmlir/lib/CMakeLists.txtmlir/lib/Dialect/QCO/CMakeLists.txtmlir/lib/Dialect/QCO/Transforms/CMakeLists.txtmlir/lib/Dialect/QCO/Transforms/Mapping/Architecture.cppmlir/lib/Dialect/QCO/Transforms/Mapping/Mapping.cppmlir/unittests/CMakeLists.txtmlir/unittests/Dialect/QCO/CMakeLists.txtmlir/unittests/Dialect/QCO/Transforms/CMakeLists.txtmlir/unittests/Dialect/QCO/Transforms/Mapping/CMakeLists.txtmlir/unittests/Dialect/QCO/Transforms/Mapping/test_mapping.cpp
💤 Files with no reviewable changes (3)
- mlir/unittests/CMakeLists.txt
- mlir/lib/CMakeLists.txt
- mlir/include/mlir/CMakeLists.txt
burgholzer
left a comment
There was a problem hiding this comment.
Thanks for the quick fix! Looks great to me. I added a suggestion on the target naming, which might make sense to still target as part of this PR
Description
This pull request moves the recently added mapping pass
.cppand.hfiles toQCO/Transforms/Mappingand adjusts the respectiveCMakeLists.txtfiles accordingly.Checklist: