[all-commits] [llvm/llvm-project] 66268c: [NFC]add & to avoid copy

XinWang10 via All-commits all-commits at lists.llvm.org
Thu Mar 30 22:44:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66268c8ec4dbccc7ec5fcc20d405cf0ffe4e91f4
      https://github.com/llvm/llvm-project/commit/66268c8ec4dbccc7ec5fcc20d405cf0ffe4e91f4
  Author: Wang, Xin10 <xin10.wang at intel.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp

  Log Message:
  -----------
  [NFC]add & to avoid copy

The elements in FragmentMap are big objects, use reference can get
better performance, as someone do in line 1912.

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




More information about the All-commits mailing list