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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to