[llvm-bugs] [Bug 46574] New: [MemorySSA] Assertion `E >= 2 && "Cannot only remove incoming values in MemoryPhis with at least 2 values."' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 3 01:13:13 PDT 2020


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

            Bug ID: 46574
           Summary: [MemorySSA] Assertion `E >= 2 && "Cannot only remove
                    incoming values in MemoryPhis with at least 2
                    values."' 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 23674
  --> https://bugs.llvm.org/attachment.cgi?id=23674&action=edit
reduced testcase

opt -mtriple=s390x-linux-gnu -O3  -o out.opt.bc  -enable-simple-loop-unswitch
-enable-nontrivial-unswitch -enable-unswitch-cost-multiplier=false
tc_memphi_deleteincoming.ll

MemorySSA.h:592: void llvm::MemoryPhi::unorderedDeleteIncoming(unsigned int):
Assertion `E >= 2 && "Cannot only remove incoming values in MemoryPhis with "
"at least 2 values."' failed.
...
10 0x000002aa21b1fb04 llvm::MemorySSAUpdater::removeEdge

-- 
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/20200703/f6982f65/attachment.html>


More information about the llvm-bugs mailing list