[PATCH] D107083: [AArch64] Unroll loop with iv of pointer type

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 14:08:09 PDT 2021


efriedma added a comment.

Fundamentally, the issue with forced unrolling is that it increases codesize without actually reducing the number of operations we execute per iteration.  If there's a significant reduction to the number of operations per iteration here because we can take advantage of addressing modes, then that might be worthwhile.  But we need to be careful with the cost modeling.

You might want to look at ARMTTIImpl for ideas.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107083/new/

https://reviews.llvm.org/D107083



More information about the llvm-commits mailing list