Bug ID: 36387
           Summary: Load from a local value is not hoisted outside of the
                    loop when the value is populated via sret pointer
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses

Created attachment 19864

The attach shows a piece of IR that contains two loads in the loop, while GCC
compiles the original C++ source code down to one load in the loop, the other
one hoisted out of the loop.

I'm not entirely sure if this should be fixed in Clang or LLVM. Put it here to
start with.

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to