[llvm-bugs] [Bug 27048] trunk (r262722 and r264140): Assertion failed: (LoadPtrType->getPointerAddressSpace() == StorePtr->getType()->getPointerAddressSpace() && LoadType == StorePtr->getType()->getPointerElementType() && "Should be a known dependence"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 24 11:00:22 PDT 2016


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

Adam Nemet <anemet at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Adam Nemet <anemet at apple.com> ---
Should be fixed by r264313:

    [LLE] Check for mismatching types between the store and the load earlier

    isDependenceDistanceOfOne asserts that the store and the load access
    through the same type.  This function is also used by
    removeDependencesFromMultipleStores so we need to make sure we filter
    out mismatching types before reaching this point.

    Now we do this when the initial candidates are gathered.

    This is a refinement of the fix made in r262267.

-- 
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/20160324/c7dc0a89/attachment.html>


More information about the llvm-bugs mailing list