[llvm-dev] Jump Threading duplicates dbg.declare intrinsics for fragments, bug? (original) (raw)
Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 20 10:13:37 PDT 2017
- Previous message: [llvm-dev] Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
- Next message: [llvm-dev] Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [llvm-dev] Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
- Next message: [llvm-dev] Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]