[all-commits] [llvm/llvm-project] fbdbb1: [NFC][Utils] Eliminate DISubprogram set from Build...
Artem Pianykh via All-commits
all-commits at lists.llvm.org
Tue Dec 17 00:58:22 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbdbb13d5ba9e7a2bd6c544d290f913490da858f
https://github.com/llvm/llvm-project/commit/fbdbb13d5ba9e7a2bd6c544d290f913490da858f
Author: Artem Pianykh <artem.pyanykh at gmail.com>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M llvm/lib/Transforms/Utils/CloneFunction.cpp
Log Message:
-----------
[NFC][Utils] Eliminate DISubprogram set from BuildDebugInfoMDMap (#118625)
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
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