Re: Question about ssa-form in gcc

2010-12-17 Thread Diego Novillo
On Fri, Dec 17, 2010 at 06:00, Eugen Wagner wrote: > int a; > a  = 100; > The variable a is not wrapped into SSA_NAME a_1. Because 'a' is a "memory variable". Memory is never rewritten into SSA form. To represent memory, we use factored use-def chains (the VDEF/VUSE notation you see in the dum

Question about ssa-form in gcc

2010-12-17 Thread Eugen Wagner
Hi, noticed, that after converting into ssa-form, there are still variables, which are not wrapped into SSA_NAME. Assigment to scalar variable: int a; a = 100; The variable a is not wrapped into SSA_NAME a_1. b = foo(); is converted into b.0_3 = foo (); # .MEM_25 = VDEF <.MEM_24> b = b.0_3;