Latest experiments...happiness and sadness

Florian Weimer fw at deneb.enyo.de
Sat Oct 20 09:39:01 PDT 2012


* Remi Forax:

> Even a simple code like the one below, there is no scalar replacement  
> (OSR or not),
>      Float f = new Float(0);
>      for(int i=0; i<length; i++) {
>        f = new Float(f + 1.0f);
>      }
>      float result = f;
>      System.out.println(result);

Last time I looked at this, scalar replacement and loop optimizations
did not play along at all, and here you need both.  Has this changed?


More information about the mlvm-dev mailing list