https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113431

--- Comment #4 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
a[0][1] seems to be undefined value.

And the test seems to trigger undefined behavior.

I just checked ARM SVE and RVV.

The vectorized IR is totally the same and I don't see anything obviously wrong
in
RVV assembler.

https://godbolt.org/z/jz866Kfsv

Hi, Andrew. Could you confirm it whether ARM SVE has the same behavior as RVV?
That is, with vectorized, return 1, whereas no vectorized, return 0;

Reply via email to