Displaying 13 results from an estimated 13 matches for "sejong".
Did you mean:
dejong
2018 Mar 14
2
[SelectionDAG] DbgValue nodes aren't transferred
Hi Jonas,
Thanks for taking a look! It makes linear-dbg-value.ll pass for my target by producing DEBUG_VALUEs correctly. I also tried a simple function with few operations and confirmed DEBUG_VALUEs which are not produced without trasferDbgValues in SetPromotedInteger.
Thanks,
Sejong
From: jdevlieghere at apple.com <jdevlieghere at apple.com>
Sent: Wednesday, March 14, 2018 4:07 AM
To: Se Jong Oh <sejooh at microsoft.com>
Cc: Vedant Kumar <vsk at apple.com>; llvm-dev at lists.llvm.org; Adrian Prantl <aprantl at apple.com>; pidgeot18 at gmail.com
Subject...
2018 Mar 13
2
[SelectionDAG] DbgValue nodes aren't transferred
...my target and the legalizer promotes operations with i32 result type to i64 operations. I think that SetPromotedInteger seems to be a common place for all promotions like SetExpandedInteger.
Jonas, I would appreciate it if you can guide me about whether my understanding is correct or not.
Thanks,
Sejong
From: vsk at apple.com <vsk at apple.com>
Sent: Friday, March 9, 2018 3:19 PM
To: Se Jong Oh <sejooh at microsoft.com>
Cc: llvm-dev at lists.llvm.org; Jonas Devlieghere <jdevlieghere at apple.com>; Adrian Prantl <aprantl at apple.com>; pidgeot18 at gmail.com
Subject: Re:...
2018 Mar 15
1
[SelectionDAG] DbgValue nodes aren't transferred
...s for my target by producing DEBUG_VALUEs correctly. I also tried a simple function with few operations and confirmed DEBUG_VALUEs which are not produced without trasferDbgValues in SetPromotedInteger.
That’s great news! Do you plan on creating a patch for this upstream?
>
> Thanks,
> Sejong
>
> From: jdevlieghere at apple.com <jdevlieghere at apple.com>
> Sent: Wednesday, March 14, 2018 4:07 AM
> To: Se Jong Oh <sejooh at microsoft.com>
> Cc: Vedant Kumar <vsk at apple.com>; llvm-dev at lists.llvm.org; Adrian Prantl <aprantl at apple.com>; pid...
2018 Mar 14
0
[SelectionDAG] DbgValue nodes aren't transferred
Hi Sejong,
Indeed, I think you are right and we should call transferDbgValues in SetPromotedInteger.
I couldn’t immediately find a suitable in-tree test to verify this though. Can you check and let me know whether this works for your target?
Thanks,
Jonas
> On Mar 13, 2018, at 7:45 PM, Se Jong Oh <...
2018 Apr 30
0
[SelectionDAG] DbgValue nodes aren't transferred
...version 3.9.0 "}
!14 = !DILocation(line: 4, column: 3, scope: !4)
!15 = !DILocation(line: 5, column: 11, scope: !4)
!16 = !DIExpression()
!17 = !DILocation(line: 5, column: 7, scope: !4)
!18 = !DILocation(line: 6, column: 3, scope: !4)
!19 = !DILocation(line: 7, column: 1, scope: !4)
Thanks,
Sejong
-----Original Message-----
From: jdevlieghere at apple.com <jdevlieghere at apple.com>
Sent: Thursday, March 15, 2018 8:43 AM
To: Se Jong Oh <sejooh at microsoft.com>
Cc: Vedant Kumar <vsk at apple.com>; llvm-dev at lists.llvm.org; Adrian Prantl <aprantl at apple.com>; pid...
2018 Apr 30
2
[SelectionDAG] DbgValue nodes aren't transferred
...4, column: 3, scope: !4)
> !15 = !DILocation(line: 5, column: 11, scope: !4)
> !16 = !DIExpression()
> !17 = !DILocation(line: 5, column: 7, scope: !4)
> !18 = !DILocation(line: 6, column: 3, scope: !4)
> !19 = !DILocation(line: 7, column: 1, scope: !4)
>
>
> Thanks,
> Sejong
>
> -----Original Message-----
> From: jdevlieghere at apple.com <mailto:jdevlieghere at apple.com> <jdevlieghere at apple.com <mailto:jdevlieghere at apple.com>>
> Sent: Thursday, March 15, 2018 8:43 AM
> To: Se Jong Oh <sejooh at microsoft.com <mailto:sejo...
2018 Apr 30
0
[SelectionDAG] DbgValue nodes aren't transferred
Thanks! It looks like SelectionDAG::salvageDebugInfo handles only addition with constant.
Sejong
From: aprantl at apple.com <aprantl at apple.com>
Sent: Monday, April 30, 2018 1:53 PM
To: Se Jong Oh <sejooh at microsoft.com>
Cc: jdevlieghere at apple.com; Vedant Kumar <vsk at apple.com>; llvm-dev at lists.llvm.org; pidgeot18 at gmail.com
Subject: Re: [llvm-dev] [SelectionDAG...
2018 Mar 09
2
[SelectionDAG] DbgValue nodes aren't transferred
...ing or the legalization needs to call transferDbgValues() for this case.
I found this problem because a recently added unittest, DebugInfo/X86/linear-dbg-value.ll fails for my project, and the x86 and aarch64 backends don't have this problem since they don't promote i32 add nodes.
Thanks,
Sejong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180309/f62ecaee/attachment.html>
2018 Apr 30
1
[SelectionDAG] DbgValue nodes aren't transferred
...the cast. Since SelectionDAG already has transferDbgValues which can move dbgvalue to the cast source, I think that we can just call it where the truncate is optimized away.
That sounds reasonable, yes. Casts are effectively transparent for debug info purposes.
-- adrian
>
> Thanks,
> Sejong
>
> From: aprantl at apple.com <mailto:aprantl at apple.com> <aprantl at apple.com <mailto:aprantl at apple.com>>
> Sent: Monday, April 30, 2018 2:59 PM
> To: Se Jong Oh <sejooh at microsoft.com <mailto:sejooh at microsoft.com>>
> Cc: jdevlieghere at...
2018 Mar 09
0
[SelectionDAG] DbgValue nodes aren't transferred
...tion needs to call transferDbgValues() for this case.
>
> I found this problem because a recently added unittest, DebugInfo/X86/linear-dbg-value.ll fails for my project, and the x86 and aarch64 backends don’t have this problem since they don’t promote i32 add nodes.
>
> Thanks,
> Sejong
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
------...
2018 Apr 30
0
[SelectionDAG] DbgValue nodes aren't transferred
For cast instructions, llvm::salvageDebugInfo() simply makes dbg.value point to the source of the cast. Since SelectionDAG already has transferDbgValues which can move dbgvalue to the cast source, I think that we can just call it where the truncate is optimized away.
Thanks,
Sejong
From: aprantl at apple.com <aprantl at apple.com>
Sent: Monday, April 30, 2018 2:59 PM
To: Se Jong Oh <sejooh at microsoft.com>
Cc: jdevlieghere at apple.com; Vedant Kumar <vsk at apple.com>; llvm-dev at lists.llvm.org; pidgeot18 at gmail.com
Subject: Re: [llvm-dev] [SelectionDAG...
2018 Apr 30
2
[SelectionDAG] DbgValue nodes aren't transferred
> On Apr 30, 2018, at 2:57 PM, Se Jong Oh <sejooh at microsoft.com> wrote:
>
> Thanks! It looks like SelectionDAG::salvageDebugInfo handles only addition with constant.
You can look at llvm::salvageDebugInfo() for examples on how to handle other situations.
-- adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Mar 09
0
[SelectionDAG] DbgValue nodes aren't transferred
...or the legalization needs to call transferDbgValues() for this case.
I found this problem because a recently added unittest, DebugInfo/Generic/linear-dbg-value.ll fails for my project, and the x86 and aarch64 backends don't have this problem since they don't promote i32 add nodes.
Thanks,
Sejong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180309/aa0b9cdf/attachment.html>