[llvm-bugs] [Bug 49043] New: [AssumptionCache] Assertion "Cache contains multiple copies of a call! "' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 4 12:14:07 PST 2021


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

            Bug ID: 49043
           Summary: [AssumptionCache]  Assertion "Cache contains multiple
                    copies of a call! "' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 24484
  --> https://bugs.llvm.org/attachment.cgi?id=24484&action=edit
reduced testcase

opt -mtriple=s390x-unknown-linux -mcpu=z13 -O3 -enable-gvn-sink tc.ll

AssumptionCache.cpp:246: void
llvm::AssumptionCache::registerAssumption(llvm::CallInst*): Assertion
`AssumptionSet.insert(VH).second && "Cache contains multiple copies of a
call!"' failed.
#11 0x000002aa164a48b6 (anonymous namespace)::LoopUnroll::runOnLoop

A git bisect showed that f88a797 "[LoopDeletion] Allows deletion of possibly
infinite side-effect free loops" seems to be the first commit that resulted in
/ exposed this error.

-- 
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/20210204/7e5b5346/attachment.html>


More information about the llvm-bugs mailing list