[llvm] [DebugInfo][RemoveDIs] Make dropping variable locations explicit (PR #72399)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 07:24:33 PST 2023
================
@@ -5179,6 +5184,15 @@ bool SimplifyCFGOpt::simplifyUnreachable(UnreachableInst *UI) {
bool Changed = false;
+ // Ensure that any debug-info records that used to occur after the Unreachable
----------------
OCHyams wrote:
A few lines up there's an ominous comment `// WARNING: keep in sync with InstCombinerImpl::visitUnreachableInst()!` - does anything over there need changing?
https://github.com/llvm/llvm-project/pull/72399
More information about the llvm-commits
mailing list