[SystemZ] Remove the ManipulatesSP flag from backend (NFC).
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 18 Jan 2022 23:40:26 +0000 (17:40 -0600)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 20 Jan 2022 19:00:51 +0000 (13:00 -0600)
commit792853cb786b360fad6dedb9066b76ecd958cb93
tree9200cd66d766b35a40471d81a9f478ad38432bd0
parentdf31ff1b29bc4c2308ec5df8a7ff0ec2ab0942d4
[SystemZ] Remove the ManipulatesSP flag from backend (NFC).

This flag was set in the presence of stacksave/stackrestore in order to force
a frame pointer.

This should however not be needed per the comment in MachineFrameInfo.h
stating that a a variable sized object "...is the sole condition which
prevents frame pointer elimination", and experiments have also shown that
there seems to be no effect whatsoever on code generation with ManipulatesSP.

Review: Ulrich Weigand
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.h