xmj added a comment. I tested the patch on eembc benchmark with hexagon-sim. The speedup of autcor00data_2_lite can reach 120%. For the testcases that SMS does analysis and reports "Schedule Found? 0" finally, the insns and cycles will have a little bit of changes. http://reviews.llvm.org/D16829