[all-commits] [llvm/llvm-project] 677e94: [VE] Clean canRealignStack implementation

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Nov 23 04:09:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 677e94c0f09bf48d92b57a34ba7cf2e0d94016fb
      https://github.com/llvm/llvm-project/commit/677e94c0f09bf48d92b57a34ba7cf2e0d94016fb
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-11-23 (Mon, 23 Nov 2020)

  Changed paths:
    M llvm/lib/Target/VE/VERegisterInfo.cpp
    M llvm/lib/Target/VE/VERegisterInfo.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list