[llvm-bugs] [Bug 51178] support runtime loop unroll with pointer type

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 26 13:55:15 PDT 2021


Eli Friedman <efriedma at quicinc.com> changed:

           What    |Removed                     |Added
                 CC|                            |efriedma at quicinc.com
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Eli Friedman <efriedma at quicinc.com> ---
That loop doesn't qualify for what the unroll pass refers to as "runtime"
unrolling; that requires an exit with a computable backedge-taken count.

You can force unrolling with "-unroll-count=2".  Target unroll heuristics can
do something similar by setting "UP.Force".  Currently, on almost all targets,
the heuristics choose not to do this.

If you think some particular target's heuristics should be adjusted, please
file a more specific bug.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210726/5e89f9c4/attachment.html>

More information about the llvm-bugs mailing list