Issue 76058
Summary [DebugInfo] Missing debug location after replacement in processSDiv function
Labels new issue
Assignees
Reporter Apochens
    Hi, I found a bug of updating debug locationg in the LLVM transformer **CorrelatedValuePropagation**. After assigning a newly created binary operator Neg, the original debug location of SDI is lost. However, the newly created Neg should preserve the debug location of the SDI. This is the [buggy code](https://github.com/llvm/llvm-project/blob/6ab663be8da2b2f0a3a59d1ab6935100fb832049/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp#L942). 

I guess I know how to fix it, and I can provide the unit test. How can I do to give the patch?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to