[llvm-dev] Best way to add a new instruction
Kaarthik Alagapan via llvm-dev
llvm-dev at lists.llvm.org
Thu Jul 4 11:21:02 PDT 2019
Hello,
I am pretty new to modifying LLVM, so to get a good understanding I wanted to try duplicating an already existing instruction (like branch) and give it a new opcode (so by the end llc will accept an instruction with fbr opcode and produce the same result as if it was a br instruction). Can I get some guidance on what will be the best way to add this functionality?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190704/b755a9b8/attachment.html>
More information about the llvm-dev
mailing list