search for: sontuan

Displaying 20 results from an estimated 31 matches for "sontuan".

Did you mean: sontag
2018 Apr 26
0
Debugify and Verify-each mode
...e MDNodes. I have seen a *MDNode::deleteAsSubclass() *method, unfortunately it is private.I guess nobody has ever needed to remove MDNodes/Metadata before. Can you give me some advice on how to do this please? Thank you for your help Son Tuan Vu On Fri, Mar 16, 2018 at 11:54 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > Mhm I see now, thanks for your explanation! > > Son Tuan Vu > > On Fri, Mar 16, 2018 at 10:58 PM, Vedant Kumar <vsk at apple.com> wrote: > >> >> On Mar 16, 2018, at 2:30 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: &g...
2018 Mar 16
2
Debugify and Verify-each mode
Mhm I see now, thanks for your explanation! Son Tuan Vu On Fri, Mar 16, 2018 at 10:58 PM, Vedant Kumar <vsk at apple.com> wrote: > > On Mar 16, 2018, at 2:30 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi Vedant, > > Thank you for your reply. I think I can make this debugify-each mode, but > I guess this is reserved for your GSoC project ? > > > No, there's no reserved work. If you'd like to work on this I encourage > you to do...
2018 Apr 20
0
LLVM Pass Managers
> On Apr 20, 2018, at 1:46 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi Vedant, > > Thanks for your reply. More comments inline. > > Son Tuan Vu > > On Fri, Apr 20, 2018 at 10:19 PM, Vedant Kumar <vsk at apple.com <mailto:vsk at apple.com>> wrote: > Hi, > > + Chandler, who has a lot...
2018 Apr 20
2
LLVM Pass Managers
Hi Vedant, Thanks for your reply. More comments inline. Son Tuan Vu On Fri, Apr 20, 2018 at 10:19 PM, Vedant Kumar <vsk at apple.com> wrote: > Hi, > > + Chandler, who has a lot more experience with our pass managers. > > On Apr 20, 2018, at 12:56 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > + Vedant: what do you think about the last point, since Debugify is also > related? > > > Could you clarify the question? I'm not sure what it is you'd like me to > chime in about. > > I guess you now know what I wanted to ask? &...
2018 Apr 26
2
Debugify and Verify-each mode
Hello, > On Apr 26, 2018, at 6:44 AM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi Vedant, > > I have tried to implement the fix you proposed, but it didn't work as expected. I created a new Module Pass Manager (not Function Pass Manager) and override the add() method like this: > > class DebugifyEachPassManager : publ...
2018 May 07
0
[DbgInfo] Potential bug in location list address ranges
...t about this (bugs.llvm.org <http://bugs.llvm.org/>)? If you don't have an account on bugzilla, I'd be happy to file one for you. Please provide exact instructions to reproduce the issue including any compilation flags. thanks, vedant > On May 7, 2018, at 9:16 AM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hello, > > Has anyone taken a look at this bug? I really want to fix this, but as Paul pointed out, this requires a lot of care... > > Thank you for your help > > Son Tuan Vu > > On Fri, Apr 27, 2018 at 7:29 PM, Son Tuan VU <so...
2018 May 07
2
[DbgInfo] Potential bug in location list address ranges
Hello, Has anyone taken a look at this bug? I really want to fix this, but as Paul pointed out, this requires a lot of care... Thank you for your help Son Tuan Vu On Fri, Apr 27, 2018 at 7:29 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > Thank you all for taking a look at this. I pasted the C source then > deleted it because I was afraid that it was too long to read... > > Here's the code of *foo*. Its real name is *verifyPIN*. The variable *bar* > is *userPin*. > > int *ve...
2018 Mar 16
0
Debugify and Verify-each mode
> On Mar 16, 2018, at 2:30 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi Vedant, > > Thank you for your reply. I think I can make this debugify-each mode, but I guess this is reserved for your GSoC project ? No, there's no reserved work. If you'd like to work on this I encourage you to do so. There's plenty...
2018 Apr 20
2
LLVM Pass Managers
...at 6:14 PM, Philip Pfaffe <philip.pfaffe at gmail.com> wrote: > Hi Son, > > PassManagerBuilder is used to populate legacy PassManagers. That role is > taken over by PassBuilder for new-PM passes. > > Cheers, > Philip > > 2018-04-18 13:40 GMT+02:00 Son Tuan VU <sontuan.vu119 at gmail.com>: > >> Hi Philip, >> >> Thank you for your reply. So what would be the right way/API to write >> out-of-tree pass? I've been using *PassManagerBuilder*, which requires a >> callback refering to *legacy::PassManagerBase*, so I guess this wil...
2018 Apr 20
0
LLVM Pass Managers
Hi, + Chandler, who has a lot more experience with our pass managers. > On Apr 20, 2018, at 12:56 PM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > + Vedant: what do you think about the last point, since Debugify is also related? Could you clarify the question? I'm not sure what it is you'd like me to chime in about. > 2, I've asked this question once but have had no answer, so I'm...
2018 Mar 16
2
Debugify and Verify-each mode
...-S *and iteratively test each optimization. Am I right? Cheers, Son Tuan Vu On Thu, Mar 15, 2018 at 4:05 AM, Vedant Kumar <vsk at apple.com> wrote: > Hi Son Tuan, > > Thanks for taking a look at this :). Responses inline -- > > On Mar 14, 2018, at 8:11 AM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi Vedant, hi all, > > My goal is to measure debug info loss of *each* optimization pass in > LLVM. I am trying to create a debugify-each mode in opt, inspired by > verify-each mode which is supposed to already work. > > > + Anastasis, wh...
2018 Apr 27
0
Debugify and Verify-each mode
...h is quite ready, I am having Debugify and CheckDebugify before and after each ModulePass, then I just need to implement the FunctionPass and LoopPass. On Thu, Apr 26, 2018 at 8:53 PM, Vedant Kumar <vsk at apple.com> wrote: > Hello, > > On Apr 26, 2018, at 6:44 AM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi Vedant, > > I have tried to implement the fix you proposed, but it didn't work as > expected. I created a new *Module* Pass Manager (not Function Pass > Manager) and override the *add()* method like this: > > class DebugifyEachPassMan...
2018 Apr 27
2
[DbgInfo] Potential bug in location list address ranges
...ulr From: aprantl at apple.com [mailto:aprantl at apple.com] Sent: Friday, April 27, 2018 11:22 AM To: Son Tuan VU Cc: Robinson, Paul; Vedant Kumar; dblaikie at gmail.com; llvm-dev Subject: Re: [DbgInfo] Potential bug in location list address ranges On Apr 27, 2018, at 7:48 AM, Son Tuan VU <sontuan.vu119 at gmail.com<mailto:sontuan.vu119 at gmail.com>> wrote: Hi all, Consider this ARM assembly code of a C function: 00008124 <foo>: 8124: push {r4, r6, r7, lr} 8126: add r7, sp, #8 8128: mov r4, r0...
2018 Apr 27
0
[DbgInfo] Potential bug in location list address ranges
> On Apr 27, 2018, at 7:48 AM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi all, > > Consider this ARM assembly code of a C function: > > 00008124 <foo>: > 8124: push {r4, r6, r7, lr} > 8126: add r7, sp, #8 > 8128: mov r4, r0...
2018 Apr 19
0
LLVM Pass Managers
Hi Son, PassManagerBuilder is used to populate legacy PassManagers. That role is taken over by PassBuilder for new-PM passes. Cheers, Philip 2018-04-18 13:40 GMT+02:00 Son Tuan VU <sontuan.vu119 at gmail.com>: > Hi Philip, > > Thank you for your reply. So what would be the right way/API to write > out-of-tree pass? I've been using *PassManagerBuilder*, which requires a > callback refering to *legacy::PassManagerBase*, so I guess this will be > no longer the...
2018 Sep 18
2
How to add a barrier pseudo instruction?
Hi Tim, Thank you a lot for your reply. So IIUC, optimization passes in opt do not reorder IR instructions, only passes in llc that move MIR instructions around. Is it correct? On the back-end (llc) side, hasSideEffects might prevent some reordering. But I just learn about TargetInstrInfo::isSchedulingBoundary. Can you tell me what are the differences between the two please? Thank you very much
2018 Apr 27
2
[DbgInfo] Potential bug in location list address ranges
Hi all, Consider this ARM assembly code of a C function: 00008124 <foo>: 8124: push {r4, r6, r7, lr} 8126: add r7, sp, #8 8128: mov r4, r0 812a: ldrsb.w r0, [r2] 812e: cmp r0, #1 8130: itt lt 8132: movlt r0, #85 ;
2018 Apr 27
0
[DbgInfo] Potential bug in location list address ranges
...t; *Sent:* Friday, April 27, 2018 11:22 AM > *To:* Son Tuan VU > *Cc:* Robinson, Paul; Vedant Kumar; dblaikie at gmail.com; llvm-dev > *Subject:* Re: [DbgInfo] Potential bug in location list address ranges > > > > > > > > On Apr 27, 2018, at 7:48 AM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > > > Hi all, > > > > Consider this ARM assembly code of a C function: > > > > 00008124 <foo>: > > 8124: push {r4, r6, r7, lr} > > 8126: add r7, sp, #8 > >...
2018 Mar 15
0
Debugify and Verify-each mode
Hi Son Tuan, Thanks for taking a look at this :). Responses inline -- > On Mar 14, 2018, at 8:11 AM, Son Tuan VU <sontuan.vu119 at gmail.com> wrote: > > Hi Vedant, hi all, > > My goal is to measure debug info loss of each optimization pass in LLVM. I am trying to create a debugify-each mode in opt, inspired by verify-each mode which is supposed to already work. + Anastasis, who's interested in wo...
2018 Apr 18
2
LLVM Pass Managers
Hi Philip, Thank you for your reply. So what would be the right way/API to write out-of-tree pass? I've been using *PassManagerBuilder*, which requires a callback refering to *legacy::PassManagerBase*, so I guess this will be no longer the good way to go? Son Tuan Vu On Tue, Apr 17, 2018 at 6:06 PM, Philip Pfaffe <philip.pfaffe at gmail.com> wrote: > Hi Son, > > I have an