[llvm-bugs] [Bug 40038] New: [Loop unswitch + MSSA Loop Dep] Assertion fails: "Incomplete MemoryPhi Node"

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 15 07:15:53 PST 2018


            Bug ID: 40038
           Summary: [Loop unswitch + MSSA Loop Dep] Assertion fails:
                    "Incomplete MemoryPhi Node"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

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

opt -march=z13 -S -O3 -o out.opt.ll tc_IncompleteMemPhi.ll
-enable-simple-loop-unswitch -enable-mssa-loop-dependency

lib/Analysis/MemorySSA.cpp:1886: void
llvm::MemorySSA::verifyDefUses(llvm::Function&) const: Assertion
`Phi->getNumOperands() == static_cast<unsigned>(std::distance( pred_begin(&B),
pred_end(&B))) && "Incomplete MemoryPhi Node"' 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/20181215/af4b372e/attachment-0001.html>

More information about the llvm-bugs mailing list