diff --git a/llvm/docs/tutorial/LangImpl5.rst b/llvm/docs/tutorial/LangImpl5.rst index 72e34b1c9cdd..2dbc8322fc9d 100644 --- a/llvm/docs/tutorial/LangImpl5.rst +++ b/llvm/docs/tutorial/LangImpl5.rst @@ -388,7 +388,7 @@ code: The first two lines here are now familiar: the first adds the "merge" block to the Function object (it was previously floating, like the else -block above). The second block changes the insertion point so that newly +block above). The second changes the insertion point so that newly created code will go into the "merge" block. Once that is done, we need to create the PHI node and set up the block/value pairs for the PHI. diff --git a/llvm/docs/tutorial/OCamlLangImpl5.rst b/llvm/docs/tutorial/OCamlLangImpl5.rst index b8ae3c58ddff..0faecfb9222e 100644 --- a/llvm/docs/tutorial/OCamlLangImpl5.rst +++ b/llvm/docs/tutorial/OCamlLangImpl5.rst @@ -336,7 +336,7 @@ for the 'then' block. let phi = build_phi incoming "iftmp" builder in The first two lines here are now familiar: the first adds the "merge" -block to the Function object. The second block changes the insertion +block to the Function object. The second changes the insertion point so that newly created code will go into the "merge" block. Once that is done, we need to create the PHI node and set up the block/value pairs for the PHI.