kparzysz-quic commented on pull request #8213: URL: https://github.com/apache/tvm/pull/8213#issuecomment-856972609
The above assertion is because the program tried to get a pointer to `void` in LLVM. There is no such thing, hence the assertion. After you fix that, you hit another problem: the bitcast that was on line 221 was casting `i8* %0` to `[1 x i8*]`, which is not a legal cast, and so you get another assertion: ``` python3: /w/src/llvm-project/llvm/lib/IR/Instructions.cpp:2984: static llvm::CastInst *llvm::CastInst::Create(Instruction::CastOps, llvm::Value *, llvm::Type *, const llvm::Twine &, llvm::Instruction *): Assertion `castIsValid(op, S, Ty) && "Invalid cast!"' failed. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org