The transformation passes will query this and then emit them as part of
their own report. The currently only user LV is modified to do just
that.
This is part of the patchset that converts LoopAccessAnalysis into an
actual analysis pass.
Paths
| Differential D7681
[LoopAccesses] Stash the report from the analysis rather than emitting it ClosedPublic Authored by anemet on Feb 16 2015, 2:19 PM.
Details
Summary The transformation passes will query this and then emit them as part of This is part of the patchset that converts LoopAccessAnalysis into an
Diff Detail Event Timelinehfinkel edited edge metadata. Comment ActionsI imagine that, in the future, we might generate multiple report messages. I think that this is fine for now, however. LGTM.
This revision is now accepted and ready to land.Feb 16 2015, 4:21 PM Comment Actions
Yeah, initially I wrote this with a SmallVector. When later in the patchset I was writing the part to prepend "loop cannot be vectorized" to the report for the vectorizer I realized that there was no point making that a loop, etc since we only have reports with a single message in them.
Revision Contents
Diff 20050 include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
|
report -> reports