[llvm-dev] Jump Threading duplicates dbg.declare intrinsics for fragments, bug?

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 20 10:13:37 PDT 2017


On Wed, Sep 20, 2017 at 1:43 AM, Mikael Holmén <mikael.holmen at ericsson.com>
wrote:

> I also think it's weird that the replaceDbgDeclareForAlloca/rep
> laceDbgDeclare/FindAllocaDbgDeclare methods return as soon as they've
> handled one found dbg.declare, so if there are several, one is moved next
> to the alloca, but the other ones are left somewhere. So maybe a fault
> there too? These methods are used from a bunch of different passes...
>

I agree, this seems like a bug. I plan to make this return a list in
https://reviews.llvm.org/D37768.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170920/ce5a9d30/attachment.html>


More information about the llvm-dev mailing list