[all-commits] [llvm/llvm-project] 1dbfbb: [MemProf] Stop cloning traversal on single allocat...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Thu Feb 6 13:21:25 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dbfbb5ce60794a5e986df706ea8e7a058115e26
      https://github.com/llvm/llvm-project/commit/1dbfbb5ce60794a5e986df706ea8e7a058115e26
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  Log Message:
  -----------
  [MemProf] Stop cloning traversal on single allocation type (#126131)

We were previously checking this after recursing on all callers, but if
we already have a single allocation type there is no need to even look
at any callers. Didn't show a significant improvement overall, but it
does reduce the count of times we enter the identifyClones and do other
checks.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list