- Add assertions.
- Use SmallVector instead of std::vector
- Verify more analyses.
These changes are moved out of https://reviews.llvm.org/D73129 to simplify that review.
Paths
| Differential D73204
[NFCI][LoopUnrollAndJam] Minor changes. ClosedPublic Authored by Whitney on Jan 22 2020, 8:22 AM.
Details Summary
These changes are moved out of https://reviews.llvm.org/D73129 to simplify that review.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, zzheng, hiraditya. · View Herald TranscriptJan 22 2020, 8:22 AM fhahn added inline comments.
Comment Actions Looks like some nice cleanups.
Whitney added inline comments.
Whitney marked 3 inline comments as done. Whitney added inline comments.
This revision is now accepted and ready to land.Jan 24 2020, 10:20 AM Closed by commit rGcd0cff43925a: [NFCI][LoopUnrollAndJam] Minor changes. (authored by Whitney). · Explain WhyJan 28 2020, 12:35 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 240974 llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
|
Why does the unroller have it's own version of this function, and how is it different to RemapInstruction?
If this is no longer needs to be shared with the unroller, it can be removed from UnrollLoop.h and made static in LoopUnroll.cpp.