[llvm-bugs] [Bug 37808] New: llvm/lib/Analysis/MemorySSAUpdater.cpp:366: void llvm::MemorySSAUpdater::fixupDefs(const llvm::SmallVectorImpl<llvm::MemoryAccess*>&): Assertion `MSSA->dominates(NewDef, FirstDef) && "Should have dominated the new access"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 14 12:14:34 PDT 2018


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

            Bug ID: 37808
           Summary: llvm/lib/Analysis/MemorySSAUpdater.cpp:366: void
                    llvm::MemorySSAUpdater::fixupDefs(const
                    llvm::SmallVectorImpl<llvm::MemoryAccess*>&):
                    Assertion `MSSA->dominates(NewDef, FirstDef) &&
                    "Should have dominated the new access"' failed.
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: balarishi.bhogadi at amd.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20430
  --> https://bugs.llvm.org/attachment.cgi?id=20430&action=edit
Error message

Bug Description:

Facing the below assertion failure with the latest version:

--
opt:
/home/amd/JENKINS/workspace/CPUPC_Mirror_Branch/llvm/lib/Analysis/MemorySSAUpdater.cpp:366:
void llvm::MemorySSAUpdater::fixupDefs(const
llvm::SmallVectorImpl<llvm::MemoryAccess*>&): Assertion
`MSSA->dominates(NewDef, FirstDef) && "Should have dominated the new access"'
failed.
Stack dump:
--

This issue is faced with the fix given for Bug 36484.


Attached: input IR file and error message file

=========

Steps to reproduce:
- Download the attached file 
- Extract the file using command "tar -xvf gvnhoist_issue_input.o.tar.xz" 
- Execute the below with the recent version of llvm: opt -S -gvn-hoist -o
gvnhoist_issue_output.o gvnhoist_issue_input.o

=========

-- 
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/20180614/77ab0be5/attachment.html>


More information about the llvm-bugs mailing list