[LLVMbugs] [Bug 18800] New: sroa crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 10 15:05:49 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18800

            Bug ID: 18800
           Summary: sroa crash
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I wrote a patch for deleting the old scalarrepl pass, but noticed that the new
one crashes with:

./bin/opt -sroa -S < ~/llvm/llvm/test/Transforms/ScalarRepl/vector_memcpy.ll
opt: /home/espindola/llvm/llvm/include/llvm/Support/Casting.h:240: typename
cast_retty<X, Y *>::ret_type llvm::cast(Y *) [X = llvm::ConstantInt, Y =
llvm::Value]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible
type!"' failed.

-- 
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/20140210/8f9b6d90/attachment.html>


More information about the llvm-bugs mailing list