[llvm-bugs] [Bug 40782] New: [Loop unswitch + MemSSA Loop Dep] Assertion "Trying to remove memory access that still has uses"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 19 13:06:04 PST 2019


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

            Bug ID: 40782
           Summary: [Loop unswitch + MemSSA Loop Dep]  Assertion "Trying
                    to remove memory access that still has uses"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21495
  --> https://bugs.llvm.org/attachment.cgi?id=21495&action=edit
reduced testcase

bin/opt -mtriple=systemz-unknown -mcpu=z13 ./tc_rem_stilluses.ll -O3 -S -o
out.opt.ll -enable-mssa-loop-dependency -enable-simple-loop-unswitch

lib/Analysis/MemorySSA.cpp:1714: void
llvm::MemorySSA::removeFromLookups(llvm::MemoryAccess*): Assertion
`MA->use_empty() && "Trying to remove memory access that still has uses"'
failed.

-- 
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/20190219/90a1c88f/attachment.html>


More information about the llvm-bugs mailing list