You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArrayValueCopy has special handling for array slices of the form (i:j) and (j+1:k), which allows disambiguating x(i:i+nx-1) with x(i-nx:i-1). We can probably do the same in the optimized bufferization pass or implement something more generic. For example, we can try to use the affine dialect utilities to detect store-load conflicts based on the iteration space constraints derived from the slices configurations and the mapping of the iteration indices to the memory locations (based on the designator indexing).
The text was updated successfully, but these errors were encountered:
Code with HLFIR lowering runs for 7.4 seconds vs 6 seconds with FIR lowering.
There is some overhead due to extra temporaries at line 261:
ArrayValueCopy
has special handling for array slices of the form(i:j)
and(j+1:k)
, which allows disambiguatingx(i:i+nx-1)
withx(i-nx:i-1)
. We can probably do the same in the optimized bufferization pass or implement something more generic. For example, we can try to use the affine dialect utilities to detect store-load conflicts based on the iteration space constraints derived from the slices configurations and the mapping of the iteration indices to the memory locations (based on the designator indexing).The text was updated successfully, but these errors were encountered: