On Fri, Mar 03, 2017 at 02:52:00AM +0000, Dibyendu Majumdar wrote: > I get LLVM assertion failure for following instruction: > > insn cast.64 %r4 <- (64) %r2 > > Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible > type!", file C:\d\llvm-3.9.0.src\include\llvm/Support/Casting.h, line > 237 > > I think this is because the linearize is outputting an integer cast > rather than pointer cast so LLVM is not happy. Yes. Here I have something that talk more to me: ZExt only operates on integer %R4 = zext %struct.link_st* %load_target to i8* -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html