[PATCH] D92251: [VE] Optimize prologue/epilogue instructions

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 15:47:11 PST 2020


kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added subscribers: llvm-commits, hiraditya.
kaz7 requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92251

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92251.308123.patch
Type: text/x-patch
Size: 91632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201127/79a4db43/attachment.bin>


More information about the llvm-commits mailing list