[llvm-bugs] [Bug 46753] New: AssumeBundles bad interaction with SROA

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 16 09:33:49 PDT 2020


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

            Bug ID: 46753
           Summary: AssumeBundles bad interaction with SROA
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: xur at google.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 23737
  --> https://bugs.llvm.org/attachment.cgi?id=23737&action=edit
test case

The recently change on alignment assumption generated very inefficient codes --
it seems SROA cannot handle the patten in the new implementation and fail to do
the cleanup.

Some of our internal tests suffer 10x slow down.

The attached program shows the problem. Without the patch, we have 6
instructions. With the patch, we have ~100 instructions, most of them are
redundant.

-- 
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/20200716/48a165bc/attachment.html>


More information about the llvm-bugs mailing list