[PATCH] D15408: [AArch64/LoopUnrollRuntime] Don't avoid high-cost trip count computation on the AArch64

Junmo Park via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 15:37:38 PST 2015


flyingforyou added a comment.

Thanks James.

I have a question about your opinion.

> I'm not sure about this. If the loop is inside a loop nest and the inner loop trip count is low, the division could well become significant as on many cores it is not pipelined.


I think your opinion assume that loop unroll's positive effect is nothing. I think even if the inner loop trip count is low, when loop is unrolled there are more chances to optimize the loop by other passes.

Junmo.


http://reviews.llvm.org/D15408





More information about the llvm-commits mailing list