[VE] Clean canRealignStack implementation
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Sun, 22 Nov 2020 10:36:52 +0000 (19:36 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 23 Nov 2020 12:09:03 +0000 (21:09 +0900)
commit677e94c0f09bf48d92b57a34ba7cf2e0d94016fb
treeb316f76abe12733b5e630863cc2c9d532f91737d
parent3a302349ebd11279d0c49fbd03c66ed502968f19
[VE] Clean canRealignStack implementation

Old canRealignStack calls TRI::canRealignStack and hasReservedCallFrame.
But, this hasReservedCallFrame return true whenever for VE since VE
allocates call frame all the time.  It means this canRealignStack is
identical to TRI::canRealignStack.  This patch removes VE's
canRealignStack and let caller call TRI::canRealignStack directly.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91929
llvm/lib/Target/VE/VERegisterInfo.cpp
llvm/lib/Target/VE/VERegisterInfo.h