X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FExtendingLLVM.html;h=99e209b89403027305729cee2082bdeeb0bad93c;hb=8f00ae6a3f8d392ce0f42a81223e479f97876d7f;hp=b072ed3b6e8532fdc10f66b21975813cd7a6b58f;hpb=068da2781170e793607be74b6af16f4fc122fea5;p=oota-llvm.git diff --git a/docs/ExtendingLLVM.html b/docs/ExtendingLLVM.html index b072ed3b6e8..99e209b8940 100644 --- a/docs/ExtendingLLVM.html +++ b/docs/ExtendingLLVM.html @@ -2,15 +2,16 @@ "http://www.w3.org/TR/html4/strict.dtd">
+During the course of using LLVM, you may wish to customize it for your research project or for experimentation. At this point, you may realize that @@ -68,12 +69,12 @@ effort by doing so.
Adding a new intrinsic function to LLVM is much easier than adding a new instruction. Almost all extensions to LLVM should start as an intrinsic @@ -104,19 +105,6 @@ function and then be turned into an instruction if warranted.
support for it. Generally you must do the following steps:As with intrinsics, adding a new SelectionDAG node to LLVM is much easier than adding a new instruction. New nodes are often added to help represent @@ -146,7 +134,7 @@ cases, new nodes have been added to allow many targets to perform a common task complicated behavior in a single node (rotate).
WARNING: adding instructions changes the bitcode format, and it will take some effort to maintain compatibility with @@ -277,25 +265,23 @@ to understand this new instruction.
- + -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.
-