[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>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev