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: unassignedb...@nondot.org
          Reporter: balarishi.bhog...@amd.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to