[llvm-bugs] [Bug 45976] New: MemorySSA crashing with Assertion `!MSSA.isLiveOnEntryDef(MA) && "Hit liveOnEntry before clobber?"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 18 06:11:22 PDT 2020


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

            Bug ID: 45976
           Summary: MemorySSA crashing with Assertion
                    `!MSSA.isLiveOnEntryDef(MA) && "Hit liveOnEntry before
                    clobber?"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 23503
  --> https://bugs.llvm.org/attachment.cgi?id=23503&action=edit
bbi-42991.ll reproducer

llvm commit: 87b235db63a3

If I compile with EXPENSIVE_CHECKS turned on and then run

 opt -S -o - bbi-42991.ll -early-cse-memssa

I hit the following assertion:

opt: ../lib/Analysis/MemorySSA.cpp:447: void checkClobberSanity(const
llvm::MemoryAccess *, llvm::MemoryAccess *, const llvm::MemoryLocation &, const
llvm::MemorySSA &, const (anonymous namespace)::UpwardsMemoryQuery &,
AliasAnalysisType &, bool) [AliasAnalysisType = llvm::AAResults]: Assertion
`!MSSA.isLiveOnEntryDef(MA) && "Hit liveOnEntry before clobber?"' 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/20200518/20bba16f/attachment-0001.html>


More information about the llvm-bugs mailing list