Re: [Patch, committed, wwwdocs] Re: Typo in GCC 4.8 release page

2013-04-03 Thread Kartik Singhal
On Thu, Mar 28, 2013 at 2:18 PM, Tobias Burnus wrote: > Foone Turing wrote: >> >> This page: http://gcc.gnu.org/gcc-4.8/ >> under "release history" says GCC 4.8 was released on March 22, 2012. >> This should be 2013, not 2012. > > > Thanks for the report! I have corrected it now. Same typo at GC

Correct way to access predecessors of a gimple statement?

2013-05-04 Thread Kartik Singhal
Hi I am trying to implement a GVN algorithm as a plugin for GCC 4.6. With help from GCC IRC channel, internals doc and reading the source, I was able to get a prototype working for the case of a single block. Now, I am trying to handle the case of confluence of multiple edges i.e. obtain redunda

Re: Correct way to access predecessors of a gimple statement?

2013-05-05 Thread Kartik Singhal
On Sun, May 5, 2013 at 12:39 PM, Sudakshina Das wrote: > You can use the iterator FOR_EACH_EDGE in this form: > > FOR_EACH_EDGE (e, ei, bb->preds) > > where e is an edge ei is edge iterator bb is a basic block. Oh, I guess this is exactly what I need. Now, I looked it up, basic_block.h has such a

Re: gcc : c++11 : full support : eta?

2013-01-24 Thread Kartik Singhal
I have been following this discussion for quite a while now, guess it's the right time to introduce myself as one of the newcomers. I had attended the Abstractions in GCC workshop 2012 by Prof. Uday and his team. It definitely helped me kick start with understanding of GCC and got me interested; s

Re: gcc : c++11 : full support : eta?

2013-01-24 Thread Kartik Singhal
On Thu, Jan 24, 2013 at 2:44 PM, Alec Teal wrote: > I am keeping a "diary" of sorts about what I think GCC is and how that > changes, how it does things, so forth. > Please keep one too! Thanks for the suggestion. Will do that from now on. -- Kartik http://k4rtik.wordpress.com/

Global Value Numbering and dependence on SSA in GCC

2013-02-06 Thread Kartik Singhal
Hi I am an undergraduate CS student and a beginner to GCC development. I am trying to implement a new algorithm for Global Value Numbering proposed recently in our research group. I have basic experience in implementing simple optimization passes as dynamic plugins in GCC. I have some questions r

Re: Global Value Numbering and dependence on SSA in GCC

2013-02-10 Thread Kartik Singhal
Thanks Richard for pointing out tree-ssa-sccvn.c On Wed, Feb 6, 2013 at 8:14 PM, Richard Biener wrote: > > Well, to ignore SSA form simply treat each SSA name as separate variable. > You of course need to handle PHI nodes as copies on CFG edges then. I am not sure if I understood this correctly.