This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/7] SMS remove dependence on doloop: Use get_simple_loop_desc to get loop iteration count


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]