X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=docs%2FExtendingLLVM.rst;h=3ae676a1b6e70814197cbe16a809270dba6df1cb;hb=811a372d4fbf505e3d5db3b1d18f1109de47e0a7;hp=6df08eee985a34d0ca53c165d1cb73d2d664dfb9;hpb=36a11b39d83bd019d58bf3b9ecc0fc2572aa4b87;p=oota-llvm.git diff --git a/docs/ExtendingLLVM.rst b/docs/ExtendingLLVM.rst index 6df08eee985..3ae676a1b6e 100644 --- a/docs/ExtendingLLVM.rst +++ b/docs/ExtendingLLVM.rst @@ -1,5 +1,3 @@ -.. _extending_llvm: - ============================================================ Extending LLVM: Adding instructions, intrinsics, types, etc. ============================================================ @@ -47,7 +45,7 @@ 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. -#. ``llvm/include/llvm/Intrinsics*.td``: +#. ``llvm/include/llvm/IR/Intrinsics*.td``: Add an entry for your intrinsic. Describe its memory access characteristics for optimization (this controls whether it will be DCE'd, CSE'd, etc). Note