[llvm] [OMPIRBuilder][Debug] Remove unnecessary code. (PR #156468)
Abid Qadeer via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 2 10:39:38 PDT 2025
================
@@ -7382,9 +7382,6 @@ static void FixupDebugInfoForOutlinedFunction(
// The location and scope of variable intrinsics and records still point to
// the parent function of the target region. Update them.
for (Instruction &I : instructions(Func)) {
- if (auto *DDI = dyn_cast<llvm::DbgVariableIntrinsic>(&I))
----------------
abidh wrote:
Thanks for the review. I have added an assert.
https://github.com/llvm/llvm-project/pull/156468
More information about the llvm-commits
mailing list