[llvm] [CodeGen][NewPM] Port LiveDebugVariables to NPM (PR #115468)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 10:02:23 PST 2024
================
@@ -1956,13 +1972,13 @@ void LDVImpl::emitDebugValues(VirtRegMap *VRM) {
}
void LiveDebugVariables::emitDebugValues(VirtRegMap *VRM) {
- if (pImpl)
- static_cast<LDVImpl*>(pImpl)->emitDebugValues(VRM);
+ if (PImpl)
+ static_cast<LDVImpl *>(PImpl.get())->emitDebugValues(VRM);
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void LiveDebugVariables::dump() const {
- if (pImpl)
- static_cast<LDVImpl*>(pImpl)->print(dbgs());
+ if (PImpl)
+ static_cast<LDVImpl *>(PImpl.get())->print(dbgs());
----------------
arsenm wrote:
Ditto
https://github.com/llvm/llvm-project/pull/115468
More information about the llvm-commits
mailing list