Commit d977b4a
committed
[Polly] Use SmallDenseMap for MapInsnToMemAcc for better performance
Change MapInsnToMemAcc from std::map to SmallDenseMap<..., 16> for improved
compile time. This is consistent with the SmallDenseMap optimizations made
in DependenceAnalysis.
Note: Polly already has batch delinearization built into its architecture -
it collects all accesses in DetectionContext.Accesses, then processes them
together in getDelinearizationTerms() and hasBaseAffineAccesses(). This was
the model for the batch delinearization changes in DependenceAnalysis.1 parent a11356d commit d977b4a
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
111 | | - | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
0 commit comments