Hi,

The loop after SMS transformation would at least execute stage_count
times (due to the duplication in prolog/epilog).
To avoid the loop with loop_count < stage_count execute the sms
version loop, SMS will try to get loop iteration count.

Currently, SMS would get iteration count by finding the instruction
which setup the iteration count. The instruction would generate by
doloop optimization.

To remove the dependency on doloop pass, we generalize the method
by using get_simple_loop_desc function to get loop iteration count.

Thanks,
Shiva

Attachment: 0002-Use-get_simple_loop_desc-to-get-loop-iteration-count.patch
Description: 0002-Use-get_simple_loop_desc-to-get-loop-iteration-count.patch

Reply via email to