[all-commits] [llvm/llvm-project] 44a4f9: [VE] Optimize leaf functions

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Nov 16 07:38:22 PST 2020


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

  Changed paths:
    M llvm/lib/Target/VE/VEFrameLowering.cpp
    M llvm/lib/Target/VE/VEFrameLowering.h
    M llvm/test/CodeGen/VE/Scalar/addition.ll
    M llvm/test/CodeGen/VE/Scalar/and.ll
    M llvm/test/CodeGen/VE/Scalar/atomic_fence.ll
    M llvm/test/CodeGen/VE/Scalar/atomic_load.ll
    M llvm/test/CodeGen/VE/Scalar/atomic_store.ll
    M llvm/test/CodeGen/VE/Scalar/bitcast.ll
    M llvm/test/CodeGen/VE/Scalar/bitreverse.ll
    M llvm/test/CodeGen/VE/Scalar/blockaddress.ll
    M llvm/test/CodeGen/VE/Scalar/br_cc.ll
    M llvm/test/CodeGen/VE/Scalar/br_jt.ll
    M llvm/test/CodeGen/VE/Scalar/brcond.ll
    M llvm/test/CodeGen/VE/Scalar/brind.ll
    M llvm/test/CodeGen/VE/Scalar/bswap.ll
    M llvm/test/CodeGen/VE/Scalar/callstruct.ll
    M llvm/test/CodeGen/VE/Scalar/cast.ll
    M llvm/test/CodeGen/VE/Scalar/constants.ll
    M llvm/test/CodeGen/VE/Scalar/ctlz.ll
    M llvm/test/CodeGen/VE/Scalar/ctpop.ll
    M llvm/test/CodeGen/VE/Scalar/cttz.ll
    M llvm/test/CodeGen/VE/Scalar/div.ll
    M llvm/test/CodeGen/VE/Scalar/fabs.ll
    M llvm/test/CodeGen/VE/Scalar/fcopysign.ll
    M llvm/test/CodeGen/VE/Scalar/fcos.ll
    M llvm/test/CodeGen/VE/Scalar/fp_add.ll
    M llvm/test/CodeGen/VE/Scalar/fp_div.ll
    M llvm/test/CodeGen/VE/Scalar/fp_extload_truncstore.ll
    M llvm/test/CodeGen/VE/Scalar/fp_fneg.ll
    M llvm/test/CodeGen/VE/Scalar/fp_mul.ll
    M llvm/test/CodeGen/VE/Scalar/fp_sub.ll
    M llvm/test/CodeGen/VE/Scalar/fp_to_int.ll
    M llvm/test/CodeGen/VE/Scalar/fsin.ll
    M llvm/test/CodeGen/VE/Scalar/fsqrt.ll
    A llvm/test/CodeGen/VE/Scalar/function_prologue_epilogue.ll
    M llvm/test/CodeGen/VE/Scalar/inlineasm-lea.ll
    M llvm/test/CodeGen/VE/Scalar/inlineasm-vldvst.ll
    M llvm/test/CodeGen/VE/Scalar/int_to_fp.ll
    M llvm/test/CodeGen/VE/Scalar/left_shift.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/load_gv.ll
    M llvm/test/CodeGen/VE/Scalar/load_off.ll
    M llvm/test/CodeGen/VE/Scalar/loadrri.ll
    M llvm/test/CodeGen/VE/Scalar/max.ll
    M llvm/test/CodeGen/VE/Scalar/min.ll
    M llvm/test/CodeGen/VE/Scalar/multiply.ll
    M llvm/test/CodeGen/VE/Scalar/nnd.ll
    M llvm/test/CodeGen/VE/Scalar/or.ll
    M llvm/test/CodeGen/VE/Scalar/rem.ll
    M llvm/test/CodeGen/VE/Scalar/right_shift.ll
    M llvm/test/CodeGen/VE/Scalar/rotl.ll
    M llvm/test/CodeGen/VE/Scalar/rotr.ll
    M llvm/test/CodeGen/VE/Scalar/select.ll
    M llvm/test/CodeGen/VE/Scalar/select_cc.ll
    M llvm/test/CodeGen/VE/Scalar/selectccf32.ll
    M llvm/test/CodeGen/VE/Scalar/selectccf32c.ll
    M llvm/test/CodeGen/VE/Scalar/selectccf32i.ll
    M llvm/test/CodeGen/VE/Scalar/selectccf64.ll
    M llvm/test/CodeGen/VE/Scalar/selectccf64c.ll
    M llvm/test/CodeGen/VE/Scalar/selectccf64i.ll
    M llvm/test/CodeGen/VE/Scalar/selectcci32.ll
    M llvm/test/CodeGen/VE/Scalar/selectcci32c.ll
    M llvm/test/CodeGen/VE/Scalar/selectcci32i.ll
    M llvm/test/CodeGen/VE/Scalar/selectcci64.ll
    M llvm/test/CodeGen/VE/Scalar/selectcci64c.ll
    M llvm/test/CodeGen/VE/Scalar/selectcci64i.ll
    M llvm/test/CodeGen/VE/Scalar/setcc.ll
    M llvm/test/CodeGen/VE/Scalar/setccf32.ll
    M llvm/test/CodeGen/VE/Scalar/setccf32i.ll
    M llvm/test/CodeGen/VE/Scalar/setccf64.ll
    M llvm/test/CodeGen/VE/Scalar/setccf64i.ll
    M llvm/test/CodeGen/VE/Scalar/setcci32.ll
    M llvm/test/CodeGen/VE/Scalar/setcci32i.ll
    M llvm/test/CodeGen/VE/Scalar/setcci64.ll
    M llvm/test/CodeGen/VE/Scalar/setcci64i.ll
    M llvm/test/CodeGen/VE/Scalar/shl.ll
    M llvm/test/CodeGen/VE/Scalar/shr.ll
    R llvm/test/CodeGen/VE/Scalar/simple_prologue_epilogue.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/Scalar/store_gv.ll
    M llvm/test/CodeGen/VE/Scalar/subtraction.ll
    M llvm/test/CodeGen/VE/Scalar/symbol_relocation_tls.ll
    M llvm/test/CodeGen/VE/Scalar/tls.ll
    M llvm/test/CodeGen/VE/Scalar/truncstore.ll
    M llvm/test/CodeGen/VE/Scalar/xor.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/lsv.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/lvlgen.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/pfchv.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/vld.ll
    M llvm/test/CodeGen/VE/VELIntrinsics/vst.ll
    M llvm/test/CodeGen/VE/Vector/fastcc_callee.ll

  Log Message:
  -----------
  [VE] Optimize leaf functions

Optimize leaf functions by not generating save/restore for callee saved
registers.  Update regression tests also.

Reviewed By: simoll

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




More information about the All-commits mailing list