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

            Bug ID: 46275
           Summary: opt -memoryssa -loop-deletion -loop-simplifycfg
                    -verify-memoryssa failing with "Memory Def does not
                    dominate it's uses"
           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 23600
  --> https://bugs.llvm.org/attachment.cgi?id=23600&action=edit
bbi-43779.ll reproducer

Reproduce with:
 opt -memoryssa -loop-deletion -loop-simplifycfg -verify-memoryssa -S -o -
bbi-43779.ll

Result:
 opt: ../lib/Analysis/MemorySSA.cpp:2013: void
llvm::MemorySSA::verifyOrderingDominationAndDefUses(llvm::Function &) const:
Assertion `dominates(MD, U) && "Memory Def does not dominate it's uses"'
failed.

This starts happening with efb130fc930:

    [LoopDeletion] Teach LoopDeletion to preserve MemorySSA if available.

    If MemorySSA analysis is analysis, LoopDeletion now preserves it.

-- 
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