[all-commits] [llvm/llvm-project] e99169: [AArch64][GlobalISel] CallLowering: Don't generate...

AE via All-commits all-commits at lists.llvm.org
Thu Apr 9 17:10:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e99169f1c2fc4f30b35dbb0caac41b9daa10da2f
      https://github.com/llvm/llvm-project/commit/e99169f1c2fc4f30b35dbb0caac41b9daa10da2f
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64CallLowering.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/call-translator-cse.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/call-translator-ios.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/call-translator.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] CallLowering: Don't generate new copies each time we need
to store to a stack location for outgoing args.

During call arg lowering we shouldn't be modifying SP so cache the SP copy
vreg for subsequent uses.

Gives a 0.2% geomean code size improvement on CTMark.

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




More information about the All-commits mailing list