This patch changes the groupChecks method to allow strided loop access over the same object to be grouped together.
This is targeting a particular issue from flang where certain loops would generate unneeded memory checks that lead to the generated vectorised code to never be taken, resulting in heavy performance losses.
Originally written by the co-authors.
Co-authored-by: David Sherwood <david.sherwood@arm.com>
Co-authored-by: Maciej Gabka <maciej.gabka@arm.com>