[llvm] [DebugInfo][RemoveDIs] Prevent duplicate DPValues from being returned by findDbgIntrinsics (PR #82764)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 05:41:50 PST 2024


jmorse wrote:

findDbgIntrinsics can be a hot path -- would you be able to pump this through the compile-time-tracker please?

I think an alternative adding the `AllowEmpty=true` flag to the relevant call to `replaceVariableLocationOp`, if we can be confident there's a legitimate reason for there to be a duplicate entry when replacing.

https://github.com/llvm/llvm-project/pull/82764


More information about the llvm-commits mailing list