Displaying 1 result from an estimated 1 matches for "yyyinst".
Did you mean:
myinst
2012 May 20
1
[LLVMdev] Error While Inserting New Instruction to LLVM IR
...ude/llvm/Instruction.def:105:1: error:
‘visitYYY’ was not declared in this scope*
But part of my Instruction.def looks like this (after inserting XXX and
YYY)- .
.......
HANDLE_TERM_INST ( 7, Unreachable, UnreachableInst)
HANDLE_TERM_INST ( 8, XXX , XXXInst)
HANDLE_TERM_INST ( 9, YYY , YYYInst)
LAST_TERM_INST ( 9)
.......
Can anybody guess what may be the reason of this error? Did I miss any
files that need to be modified. Below are the list of files I modified to
add new LLVM IR instruction.
llvm/include/llvm/Instruction.def
llvm/include/llvm/Instructions.h
llvm/include/llvm/Suppor...