[llvm-dev] Unroll-and-Jam

Das, Dibyendu via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 8 04:08:04 PDT 2020


Hi-

I am looking to see whether UnJ can be applied to an outer loop with multiple inner nested loops like the one below. It looks like only a single inner loop is supported right now. Am I missing something ?

-Thx
Dibyendu


#pragma allow_unroll_and_jam unroll_and_jam_count(4)
for (int w = ws; w < we; w += wst) {
            (...)
            for (int d = ds ; (d < de); d += dst) {
            }
            (...)
            for (int d = ds; (d < de); d += dst) {
            }
            (...)
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200608/247cde1d/attachment.html>


More information about the llvm-dev mailing list