[PATCH] D107271: [BasicTTIImpl][LoopUnroll] getUnrollingPreferences(): emit ORE remark when advising against unrolling due to a call in a loop

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 13:12:54 PDT 2021


efriedma added a comment.

Probably loop-unroll should have a generic message along the lines of "runtime loop unrolling disabled for this loop due to target heuristic", if we don't already.

If that isn't clear enough, then I guess this is the only way to emit the diagnostic we want without significantly refactoring the code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107271



More information about the llvm-commits mailing list