Re: [PATCH] vect: Fix SVE mask_gather_load/store_store tests

2021-11-12 Thread Richard Biener via Gcc-patches
On November 12, 2021 6:55:47 PM GMT+01:00, Richard Sandiford via Gcc-patches wrote: >If-conversion now applies rewrite_to_defined_overflow to the >address calculation in an IFN_MASK_LOAD. This means that we >end up with: > >cast_base = (uintptr_t) base; >uncast_sum = cast_base + offset;

[PATCH] vect: Fix SVE mask_gather_load/store_store tests

2021-11-12 Thread Richard Sandiford via Gcc-patches
If-conversion now applies rewrite_to_defined_overflow to the address calculation in an IFN_MASK_LOAD. This means that we end up with: cast_base = (uintptr_t) base; uncast_sum = cast_base + offset; sum = (orig_type *) uncast_sum; If the target supports IFN_MASK_GATHER_LOAD with pointe