[all-commits] [llvm/llvm-project] 1b7941: [NFC][Utils] Eliminate DISubprogram set from Build...
Artem Pianykh via All-commits
all-commits at lists.llvm.org
Fri Dec 6 04:43:35 PST 2024
Branch: refs/heads/users/artempyanykh/fast-coro-upstream/6
Home: https://github.com/llvm/llvm-project
Commit: 1b7941e037c85729a5661944a13bfe0d40aa26cf
https://github.com/llvm/llvm-project/commit/1b7941e037c85729a5661944a13bfe0d40aa26cf
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