[Coins-compiler-users] prepq errors

Back to archive index

Daniel Shapiro dcsha****@gmail*****
2009年 2月 13日 (金) 01:00:04 JST


Hi All,

I found that using --O2 or -O3 or -O4 calls the ssa-opt=preqp pass, and
breaks my code. The COINS website says that the code is experimental
("(under development)"). Is this optimization really working, and if not,
shouldn't it be excluded from the default list of optimizations of the
compiler.

To give some more specifics, the pass seems to have converted this code:

 t1 = a+b;
 t2 = c*t1;
 t3 = t1+d;
 e = t2*t3;

equivalent to e=(c*(a+b))*(a+b+d)

Into this form:

e=(c*(a+b))*(d+UNINITIALIZED_TEMP_REG)

Just let me know if you want the debug code, sources etc.

Thanks,

-- 
Daniel Shapiro, B.A.Sc ., M.A.Sc. (Candidate)

School of Information Technology and Engineering (SITE), University of
Ottawa
Tel: (613) 562-5800 ext. 2189
Office: SITE4009
Email: dshap092 -at- site.uottawa.ca
Website: site.uottawa.ca/~dshap092/
Research Group: carg.site.uottawa.ca/
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Coins-compiler-users メーリングリストの案内
Back to archive index