X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FExtendingLLVM.html;h=b072ed3b6e8532fdc10f66b21975813cd7a6b58f;hb=73b43b9b549a75fb0015c825df68abd95705a67c;hp=0d90fc1c08169c94200643132e4b4086867fd4b3;hpb=c92dba26bf7b1576d175021b450e8b988a8efa5e;p=oota-llvm.git diff --git a/docs/ExtendingLLVM.html b/docs/ExtendingLLVM.html index 0d90fc1c081..b072ed3b6e8 100644 --- a/docs/ExtendingLLVM.html +++ b/docs/ExtendingLLVM.html @@ -53,9 +53,9 @@ different passes that you intend to use with your extension, and there are many LLVM analyses and transformations, so it may be quite a bit of work.
-Adding an intrinsic function is easier than adding -an instruction, and is transparent to optimization passes which treat it as an -unanalyzable function. If your added functionality can be expressed as a +
Adding an intrinsic function is far easier than +adding an instruction, and is transparent to optimization passes. If your added +functionality can be expressed as a function call, an intrinsic function is the method of choice for LLVM extension.
@@ -85,21 +85,17 @@ function and then be turned into an instruction if warranted. what the restrictions are. Talk to other people about it so that you are sure it's a good idea. -WARNING: adding instructions changes the bytecode
+ WARNING: adding instructions changes the bitcode
format, and it will take some effort to maintain compatibility with
the previous version. Only add an instruction if it is absolutely
necessary.
WARNING: adding new types changes the bytecode
+ WARNING: adding new types changes the bitcode
format, and will break compatibility with currently-existing LLVM
installations. Only add new types if it is absolutely necessary.
- The LLVM Compiler Infrastructure
+ The LLVM Compiler Infrastructure
Last modified: $Date$