[all-commits] [llvm/llvm-project] 77e2b6: [NFC][Utils] Eliminate DISubprogram set from Build...

Artem Pianykh via All-commits all-commits at lists.llvm.org
Mon Dec 16 14:31:33 PST 2024


  Branch: refs/heads/users/artempyanykh/fast-coro-upstream/6
  Home:   https://github.com/llvm/llvm-project
  Commit: 77e2b634ff2667d933c53a99db0b07681ede7b75
      https://github.com/llvm/llvm-project/commit/77e2b634ff2667d933c53a99db0b07681ede7b75
  Author: Artem Pianykh <arr at fb.com>
  Date:   2024-09-14 (Sat, 14 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/CloneFunction.cpp

  Log Message:
  -----------
  [NFC][Utils] Eliminate DISubprogram set from BuildDebugInfoMDMap

Summary:
Previously, we'd add all SPs distinct from the cloned one into a set.
Then when cloning a local scope we'd check if it's from one of those
'distinct' SPs by checking if it's in the set. We don't need to do that.
We can just check against the cloned SP directly and drop the set.

Test Plan:
ninja check-llvm-unit check-llvm

stack-info: PR: https://github.com/llvm/llvm-project/pull/118625, branch: users/artempyanykh/fast-coro-upstream/6



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