summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-12-01 03:07:11 +0000
committerBill Wendling <isanbard@gmail.com>2013-12-01 03:07:11 +0000
commit3be4b1db2b973f7b09b7046062016fc38b235b04 (patch)
tree7340a96606cf030055f80b24741e2e72e9927656 /docs
parent5f1f4773d95560b68a9c75856563e45e3a4d57e3 (diff)
downloadllvm-3be4b1db2b973f7b09b7046062016fc38b235b04.tar.gz
llvm-3be4b1db2b973f7b09b7046062016fc38b235b04.tar.bz2
llvm-3be4b1db2b973f7b09b7046062016fc38b235b04.tar.xz
Merging r195812:
------------------------------------------------------------------------ r195812 | silvas | 2013-11-26 20:55:23 -0800 (Tue, 26 Nov 2013) | 3 lines [docs] Mention gotcha regarding implicit BB numbering Impetus for the clarification by Mikael Lyngvig. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index 18d2c9cfb5..810455cbc3 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -128,7 +128,9 @@ lexical features of LLVM:
#. Unnamed temporaries are created when the result of a computation is
not assigned to a named value.
#. Unnamed temporaries are numbered sequentially (using a per-function
- incrementing counter, starting with 0).
+ incrementing counter, starting with 0). Note that basic blocks are
+ included in this numbering. For example, if the entry basic block is not
+ given a label name, then it will get number 0.
It also shows a convention that we follow in this document. When
demonstrating instructions, we will follow an instruction with a comment