We only ever use the wrapped domain of AccessSchedule, so stop
creating an entire union_map and then pulling the domain out.
Details
- Reviewers
sebpop Meinersbur • zinob grosser gareevroman pollydev huihuiz efriedma jdoerfert - Commits
- rGcc43087afc06: [DependenceInfo] Simplify creation and subsequent use of AccessSchedule [NFC]
rPLO295726: [DependenceInfo] Simplify creation and subsequent use of AccessSchedule [NFC]
rL295726: [DependenceInfo] Simplify creation and subsequent use of AccessSchedule [NFC]
Diff Detail
- Repository
- rL LLVM
Event Timeline
Dear Siddharth,
thanks for the patch. The changes itself look very good, however we should probably still update the comment above the lines you change. Also, it might sense to rename AccessSchedule to ReductionTagMap. After this patch, AccessSchedule does not contain any schedule any more.
Also:
- Please mark patches that do not change functionality with a '[NFC]' tag at the end of the title line.
- Add me also as a reviewer (the command I gave you did not add my own name)
- Add [Polly] at the beginning of the subject line, such that people know for which project this patch is for.
Please update the patch (use --update flag in arc). I will then go over it once more, and commit it if no other changes are needed.
Updating D30179: [Polly][DependenceInfo] Simplify creation and subsequent use of AccessSchedule
renamed AccessSchedule to ReductionTagMap, edited the comment in collectInfo to reflect what is happening after the change.
Good. Just one minor comment also needs updating.
Also please add '[NFC]' into the subject line of this change.
lib/Analysis/DependenceInfo.cpp | ||
---|---|---|
331 ↗ | (On Diff #89195) | This comment still needs to be updated. |