Re: [AD] Remove -fno-strength-reduce |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Is the multiplication optimized out because it is in the condition clause
> of the for loop?
Yes, that's the point of strength reduction: general induction variables (iv
with multiplier) are reduced to basic induction variables (iv without
multiplier) and the bound calculations are hoisted out of the loop. Then
you can eliminate the original biv and iterate on the giv instead.
--
Eric Botcazou