[llvm-bugs] [Bug 47562] New: loop unroll pass missed on simple code

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 17 09:03:12 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47562

            Bug ID: 47562
           Summary: loop unroll pass missed on simple code
           Product: new-bugs
           Version: 10.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: bique.alexandre at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 23975
  --> https://bugs.llvm.org/attachment.cgi?id=23975&action=edit
missed-unroll.cc

Hi,

Here is a trivial example and loop unroll failed.


20-09-17 17:59:02 abique at knot:~/t/clang> clang -O3 -c missed-unroll.cc 
missed-unroll.cc:8:6: warning: loop not unrolled: the optimizer was unable to
perform the requested transformation; the transformation might be disabled or
specified as part of an unsupported transformation ordering
[-Wpass-failed=transform-warning]
void fct_FAIL(float * __restrict__ a, float * __restrict__ b, float *
__restrict__ c, unsigned len)
     ^
1 warning generated.
20-09-17 17:59:05 abique at knot:~/t/clang> 



Regards,
Alexandre

-- 
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/20200917/3291d339/attachment.html>


More information about the llvm-bugs mailing list