WLFS acts despite data dependency
| Bugzilla Link | 325 |
| Created on | Nov 17, 2006 13:14 |
| Version | 1.00beta |
| OS | All |
| Architecture | Macintosh |
| Attachments | cgwlfs.sac |
Extended Description
Attached is a condesed example from Sonias work in which WLFusion behaves wrong.
for( i=0; i<25; i++) {
z = z + p;
r = r - a;
beta = sum(r);
p = r + (beta * p);
}
In this code fragment, WLFS fuses the computation of r into the computation of p, rendering the r in sum
(r) a dead reference.