[PATCH] D119148: [LoopUnroll] Always respect user unroll pragma

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 17 14:27:07 PST 2022


efriedma added a comment.

I think the limit is there just to prevent the compiler from exploding.  If you try to unroll too much, you're going to end up with effectively infinite compile time and/or run out of memory.

I would expect it's unlikely to trigger the limit in practice; do you have a practical case where it matters?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119148



More information about the llvm-commits mailing list