search for: cfgsimplifypass

Displaying 5 results from an estimated 5 matches for "cfgsimplifypass".

2018 Apr 02
2
[RFC] Generate Debug Information for Labels in Function
...t I didn’t carefully think about how to handle labels in > inlined function. There is no need to apologize! Thank you very much for engaging in the discussion and for contributing you patches. > > Today, I did some simple experiments and found that some basic block > may be removed in CFGSimplifyPass and the attached metadata will be > eliminated. So, if the optimization is turned on, label metadata will > disappear. However, intrinsic will keep existing in the function if we > handle it correctly. So, if we take care about optimization and > inlining, to keep label metadata through...
2018 Apr 01
0
[RFC] Generate Debug Information for Labels in Function
Hi all, I am sorry that I didn’t carefully think about how to handle labels in inlined function. Today, I did some simple experiments and found that some basic block may be removed in CFGSimplifyPass and the attached metadata will be eliminated. So, if the optimization is turned on, label metadata will disappear. However, intrinsic will keep existing in the function if we handle it correctly. So, if we take care about optimization and inlining, to keep label metadata through intrinsic could be...
2018 Mar 30
2
[RFC] Generate Debug Information for Labels in Function
On Fri, Mar 30, 2018 at 9:39 AM Adrian Prantl <aprantl at apple.com> wrote: > I'm really sorry for not realizing this yesterday, but the problems > pertaining to inlining made me realize that your original design with the > dbg.label intrinsic might actually be a better approach especially when > considering optimized code. We will get inlining support for free because >
2018 May 28
0
[RFC] Generate Debug Information for Labels in Function
...how to handle labels in > > inlined function. > > There is no need to apologize! Thank you very much for engaging in the > discussion and for contributing you patches. > > > > Today, I did some simple experiments and found that some basic block > > may be removed in CFGSimplifyPass and the attached metadata will be > > eliminated. So, if the optimization is turned on, label metadata will > > disappear. However, intrinsic will keep existing in the function if we > > handle it correctly. So, if we take care about optimization and > > inlining, to keep la...
2018 Mar 30
4
[RFC] Generate Debug Information for Labels in Function
> On Mar 30, 2018, at 9:25 AM, Adrian Prantl via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > >> On Mar 29, 2018, at 11:29 PM, Hsiangkai Wang <hsiangkai at gmail.com> wrote: >> >> I agree with you. Attach debug metadata to basic block will be a >> better solution. I will change my design to convey debug metadata >> through basic block