[llvm] [DebugInfo][RemoveDIs] Support maintaining DPValues in CodeGenPrepare (PR #73660)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 03:32:58 PST 2023
================
@@ -8359,6 +8391,30 @@ bool CodeGenPrepare::fixupDbgValue(Instruction *I) {
return AnyChange;
}
+bool CodeGenPrepare::fixupDPValue(DPValue &DPV) {
----------------
OCHyams wrote:
The debug intrinsic path asserts that it's a `DbgValueInst`. `fixupDbgValue` is only called on dbg_value (and dbg_assign)-type intrinsics, whereas `fixupDPVAlue` is called without first filtering by DPValue kind. This is fine - no action required.
https://github.com/llvm/llvm-project/pull/73660
More information about the llvm-commits
mailing list