Re: [PATCH] data-ref: Improve non-loop disambiguation [PR106019]

2022-06-21 Thread Richard Biener via Gcc-patches
> Am 21.06.2022 um 17:16 schrieb Richard Sandiford via Gcc-patches > : > > When dr_may_alias_p is called without a loop context, it tries > to use the tree-affine interface to calculate the difference > between the two addresses and use that difference to check whether > the gap between the a

[PATCH] data-ref: Improve non-loop disambiguation [PR106019]

2022-06-21 Thread Richard Sandiford via Gcc-patches
When dr_may_alias_p is called without a loop context, it tries to use the tree-affine interface to calculate the difference between the two addresses and use that difference to check whether the gap between the accesses is known at compile time. However, as the example in the PR shows, this doesn'