diff --git a/llvm/docs/ExtendingLLVM.html b/llvm/docs/ExtendingLLVM.html
index 9b0a487f82ee..dbfd4b8ec703 100644
--- a/llvm/docs/ExtendingLLVM.html
+++ b/llvm/docs/ExtendingLLVM.html
@@ -97,9 +97,13 @@ function and then be turned into an instruction if warranted.
not access memory or does not write to memory, add it to the relevant list
of functions.
-llvm/lib/Transforms/Utils/Local.cpp: If it is possible to constant
-fold your intrinsic, add support to it in the canConstantFoldCallTo and
-ConstantFoldCall functions.
+llvm/lib/Analysis/ConstantFolding.cpp: If it is possible to
+ constant fold your intrinsic, add support to it in the
+ canConstantFoldCallTo and ConstantFoldCall functions.
+
+llvm/lib/Transforms/Utils/Local.cpp: If your intrinsic has no side-
+ effects, add it to the list of intrinsics in the
+ isInstructionTriviallyDead function.
Test your intrinsic