[all-commits] [llvm/llvm-project] 57f2a7: [StackSafety, NFC] Reduce FunctionSummary size

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Jul 9 18:02:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 57f2a789ca074165baa1c8eea3332007477c9f91
      https://github.com/llvm/llvm-project/commit/57f2a789ca074165baa1c8eea3332007477c9f91
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M llvm/include/llvm/IR/ModuleSummaryIndex.h

  Log Message:
  -----------
  [StackSafety,NFC] Reduce FunctionSummary size

Most compiler infocations will not need ParamAccess,
so we can optimize memory usage there with smaller unique_ptr
instead of empty vector.
Suggested in D80908 review.

Reviewed By: tejohnson

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




More information about the All-commits mailing list