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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 09:24:45 PDT 2021


nikic added a comment.

This looks very dubious. `UP.Force` means that you are unrolling without folding //anything//. You just repeat the loop body and keep //all// the branches. This is unlikely to be profitable in general.

Note that this has nothing to do with pointer types -- you simply have a loop where the only exit is unpredictable.


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

https://reviews.llvm.org/D107083



More information about the llvm-commits mailing list