Displaying 3 results from an estimated 3 matches for "r305244".
Did you mean:
r304244
2017 Sep 19
0
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...ave any answers, just more confusion. Hopefully someone else
can bring some light to this.
I'm also interested in dbg.declares and what the rules are regarding
them since it's not very clear to me at the moment.
A similar fix as yours was made for duplicate non-fragment dbg.declares
in r305244 and there is a bit of discussion about it in
https://bugs.llvm.org//show_bug.cgi?id=33157
Maybe you've seen that?
I've run into a case where the inliner leaves two dbg.declares (with
different locations since they origin from two different inlined call
sites) connected to a single alloc...
2017 Sep 19
3
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
Hi,
I'm hitting an assertion "overlapping or duplicate fragments" in the
DWARF codegen in addFragmentOffset(). This originates from a
duplicated dbg.declare intrinsic, declaring the same fragment twice.
The duplicated call was generated by the jump threading pass.
I have a patch (see below) that removes simply such duplicates, but
I'm not sure whether that is the right
2017 Sep 19
2
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...uch as SROA) there may be one dbg.declare per variable fragment. A dbg.declare has no means of describing liveness of a variable and is always describing the location of the variable for its entire lexical scope.
>
> A similar fix as yours was made for duplicate non-fragment dbg.declares in r305244 and there is a bit of discussion about it in https://bugs.llvm.org//show_bug.cgi?id=33157
> Maybe you've seen that?
>
> I've run into a case where the inliner leaves two dbg.declares (with different locations since they origin from two different inlined call sites) connected to a...