[LLVMdev] Loop elimination with floating point counter.

Chris Lattner clattner at apple.com
Fri Jan 16 12:24:57 PST 2009


On Jan 14, 2009, at 5:11 AM, Syoyo Fujita wrote:

> Thanks for many comments.
>
> The loop with finite fp values(which could be representable in IEEE754
> fp format) such like,

Sure, LLVM could definitely do this.  If you're interested, I'd  
suggest starting by extending the existing code that we have to do  
this.  The existing code just handles increments by unit constants, so  
it doesn't trigger with 1.2.

-Chris




More information about the llvm-dev mailing list