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

--- Comment #2 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
If the testcase is built with -march=armv8.1-m.main+mve.fp then the useless
stack adjustments go away.  I think that's because V4SFmode is not a supported
vector mode for integer MVE - see arm_vector_mode_supported_p() in arm.cc. 
When it isn't a builtin type we end up with a BLKmode object that the compiler
creates a stack-slot for, even though no RTL is ever generated to use the slot
in this case.

Reply via email to