[llvm-dev] Adding a NOP bitcode instruction
Arno Puder via llvm-dev
llvm-dev at lists.llvm.org
Tue Jul 5 15:49:08 PDT 2016
Hi,
I'm trying to follow the instructions on how to add a new bitcode
instruction:
http://llvm.org/docs/ExtendingLLVM.html
This is my first foray into the guts of LLVM and I'm not sure I'm doing
things the right way. I came up with a patch that adds a NOP (no
operation) that will work with llvm-as, llvm-dis, and lli. It would be
nice if one of the experts could take a look and give some quick feedback:
https://github.com/apuder/llvm/commit/c58b0c65ac367c8a392a94063afe39b66daa01d4
TIA,
Arno
More information about the llvm-dev
mailing list