- remove stale declarations on flat affine constraints
- avoid allocating small vectors where possible
- clean up code comments, rename some variables
Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>
| Paths 
 |  Differential  D76117  
NFC: modernize / clean up some loop transform utils, affine analysis utils ClosedPublic Authored by bondhugula on Mar 12 2020, 10:59 PM. 
Details Summary 
 Signed-off-by: Uday Bondhugula <uday@polymagelabs.com> 
Diff Detail 
 Event Timelinerriddle added inline comments. This revision is now accepted and ready to land.Mar 12 2020, 11:27 PM Comment Actions 
 @flaub Could you please commit this if you have access? Comment Actions Sorry for the delay, I was mostly out today. Committed in bf0cc6b328ca7fe8b938acb379eb56d7e74ad019. Have you considered requesting commit access? Closed by commit rGbf0cc6b328ca: [mlir][NFC] modernize / clean up some loop transform utils, affine analysis… (authored by bondhugula, committed by rriddle).  ·  Explain WhyMar 13 2020, 9:34 PM This revision was automatically updated to reflect the committed changes. Comment Actions 
 Done - I have it now. (I was under the impression that it required contributions to llvm/clang proper.) 
Revision Contents 
 
Diff 250346 mlir/include/mlir/Analysis/AffineStructures.h
 mlir/lib/Analysis/AffineStructures.cpp
 mlir/lib/Analysis/LoopAnalysis.cpp
 mlir/lib/Transforms/Utils/LoopUtils.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Please use /// for top level comments.