[llvm-bugs] [Bug 36893] New: Clang fails to get rid of a simple loop, and ends up generating horrible vector code

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 25 10:43:33 PDT 2018


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

            Bug ID: 36893
           Summary: Clang fails to get rid of a simple loop, and ends up
                    generating horrible vector code
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

I'm not sure i've picked the right category.

https://godbolt.org/g/GfPP1m

IMHO both sources do the same thing, so the resulting assembly should be the
same.
The loop should have been optimized away.

-- 
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/20180325/7742d240/attachment.html>


More information about the llvm-bugs mailing list