[PATCH] D50621: [DebugInfo] Fix bug in LiveDebugVariables.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 13 09:31:59 PDT 2018
aprantl added a comment.
Do you have a testcase for this? You should be able to construct an artificial MIR testcase.
================
Comment at: lib/CodeGen/LiveDebugVariables.cpp:590
+ } else {
+ const MachineInstr &PrevMI = *std::prev(MBBI);
+ if (PrevMI.isDebugInstr())
----------------
why not use a skipDebug... mechanism here, too?
Repository:
rL LLVM
https://reviews.llvm.org/D50621
More information about the llvm-commits
mailing list