[all-commits] [llvm/llvm-project] 686988: [VE] Optimize prologue/epilogue instructions

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Nov 30 05:22:52 PST 2020


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

  Changed paths:
    M llvm/lib/Target/VE/VEFrameLowering.cpp
    M llvm/lib/Target/VE/VEFrameLowering.h
    M llvm/test/CodeGen/VE/Scalar/callee.ll
    M llvm/test/CodeGen/VE/Scalar/fabs.ll
    M llvm/test/CodeGen/VE/Scalar/fcopysign.ll
    M llvm/test/CodeGen/VE/Scalar/fp_fneg.ll
    M llvm/test/CodeGen/VE/Scalar/function_prologue_epilogue.ll
    M llvm/test/CodeGen/VE/Scalar/load-align1.ll
    M llvm/test/CodeGen/VE/Scalar/load-align2.ll
    M llvm/test/CodeGen/VE/Scalar/load-align4.ll
    M llvm/test/CodeGen/VE/Scalar/load-align8.ll
    M llvm/test/CodeGen/VE/Scalar/load.ll
    M llvm/test/CodeGen/VE/Scalar/loadrri.ll
    M llvm/test/CodeGen/VE/Scalar/sext_zext_load.ll
    M llvm/test/CodeGen/VE/Scalar/stackframe_align.ll
    M llvm/test/CodeGen/VE/Scalar/stackframe_call.ll
    M llvm/test/CodeGen/VE/Scalar/stackframe_nocall.ll
    M llvm/test/CodeGen/VE/Scalar/stackframe_size.ll
    M llvm/test/CodeGen/VE/Scalar/store-align1.ll
    M llvm/test/CodeGen/VE/Scalar/store-align2.ll
    M llvm/test/CodeGen/VE/Scalar/store-align4.ll
    M llvm/test/CodeGen/VE/Scalar/store-align8.ll
    M llvm/test/CodeGen/VE/Scalar/store.ll
    M llvm/test/CodeGen/VE/Vector/fastcc_callee.ll

  Log Message:
  -----------
  [VE] Optimize prologue/epilogue instructions

Optimize eliminate FP mechanism.  This time optimize a function which has
no call but fixed stack objects.  LLVM eliminates FP on such functions now.
Also, optimize GOT/PLT registers save/restore instructions if a given
function doesn't uses them.  In addition, remove generating mechanism of
`.cfi` instructions since those are taken from other architectures and not
inspected yet.  Update regression tests, also.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D92251




More information about the All-commits mailing list