mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
7ea3b507df
This commit extends the CompactCompatibleArrays DLAStep to also consider non-strided accesses. Strided accesses are still always considered first, and they are still considered the only real source of information on arrays, but after having tried to compact all the compatible arrays, CompactCompatibleArrays now also considers non-strided instance edges to see if they can be compacted with the rest of the inferred array. This has shown to handle gracefully a number of real-world examples and reduce unions.