[LLVMdev] Adding a new instruction?

Yannis Mantzouratos giannismantz at gmail.com
Sat Jan 2 07:52:04 PST 2010


We 're working on an llvm interpreter. We perform some static analysis
to detect some blocks with a specific property, and we need the
interpreter to be able to recognise these blocks fast in time it
reaches them. We thought of adding a new instruction in the LLVM
instruction set and put it in the beginning of such blocks, so that
the interpreter would be instantly alerted that the current block is
'special'. Is there an easier/quicker way to do this?


More information about the llvm-dev mailing list