Displaying 1 result from an estimated 1 matches for "mcptransforms".
2007 Aug 17
1
[LLVMdev] Inserting trace information during opt transformations
...My current
attempt is:
GetElementPtrInst *gepinst = new GetElementPtrInst(itext,
ConstantInt::get(Type::Int32Ty, 0),
ConstantInt::get(Type::Int32Ty, 0),
"", *wp);
but it fails as follows:
opt -load ~/llvm-tools/mcp-build/Debug/lib/MCPTransforms.so -trace-instructions -lowerselect -lowerallocs -lowergc -lowerinvoke -lowerswitch -reg2mem -insertyieldpoints -trace-memory -o Abort.fbc Abort.bc
opt: /usr/local/rse/llvm/src/lib/VMCore/Instructions.cpp:872: const llvm::Type* checkType(const llvm::Type*): Assertion `Ty && "Invalid G...