Open
Description
GCC has implemented this (see patch). Consider the following example.
https://godbolt.org/z/xj86nKn51
#include <arm_sve.h>
svint32_t f(svint32_t v)
{
return svrev_s32 (svrev_s32 (v));
}
GCC:
f(__SVInt32_t):
ret
Clang:
f(__SVInt32_t):
rev z0.s, z0.s
rev z0.s, z0.s
ret