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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to