[llvm-bugs] [Bug 38807] New: During llvm bootstrap 'CallGraph Pass Manager' fails with assertion `dominates(MD, U) && "Memory Def does not dominate it's uses"'

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 2 23:44:10 PDT 2018


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

            Bug ID: 38807
           Summary: During llvm bootstrap 'CallGraph Pass Manager' fails
                    with assertion `dominates(MD, U) && "Memory Def does
                    not dominate it's uses"'
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: balarishi.bhogadi at amd.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20822
  --> https://bugs.llvm.org/attachment.cgi?id=20822&action=edit
Reduced testcase file to reproduce the issue

While building the trunk source using llvm, faced the below assertion failure:

clang-8: /home/amd/llvm/lib/Analysis/MemorySSA.cpp:1792: void
llvm::MemorySSA::verifyDomination(llvm::Function&) const: Assertion
`dominates(MD, U) && "Memory Def does not dominate it's uses"' failed.


Steps to reproduce the issue with the reduced testcase:
- Download the attached file and untar it
- Compile the cpp file using the below command
   clang++  -O3 -mllvm -enable-gvn-hoist -fno-exceptions -w
SemaTemplate_reduced.cpp

-- 
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/20180903/eb6ff996/attachment.html>


More information about the llvm-bugs mailing list