[llvm-dev] CreateLoad assert failure (original) (raw)
Muhui Jiang via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 14 09:21:59 PDT 2018
- Previous message: [llvm-dev] Function calls keep increasing the stack usage
- Next message: [llvm-dev] CreateLoad assert failure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi
I use the IRBuilder to invoke the createload API to try to create load instructions.
However, I come across the below assert exception:
clang-4.0: /home/jmh/Downloads/llvm-4/llvm/lib/IR/Instructions.cpp:1355: llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, const char*, bool, llvm::Instruction*): Assertion `Ty == cast(Ptr->getType())->getElementType()' failed.
Does anyone have the same experience? Many Thanks
Regards Muhui -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180915/765132d4/attachment.html>
- Previous message: [llvm-dev] Function calls keep increasing the stack usage
- Next message: [llvm-dev] CreateLoad assert failure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]