aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Instructions.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-03-30 13:29:06 +0000
committerJay Foad <jay.foad@gmail.com>2011-03-30 13:29:06 +0000
commit4499176789a0e33b1d4ec0517b0a3dd8a58eef85 (patch)
tree044c8be3e68955cc989b6d8f2f68ce2403b9dbcf /include/llvm/Instructions.h
parent3ecfc861b4365f341c5c969b40e1afccde676e6f (diff)
downloadexternal_llvm-4499176789a0e33b1d4ec0517b0a3dd8a58eef85.zip
external_llvm-4499176789a0e33b1d4ec0517b0a3dd8a58eef85.tar.gz
external_llvm-4499176789a0e33b1d4ec0517b0a3dd8a58eef85.tar.bz2
Add a comment on PHINode::Create().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r--include/llvm/Instructions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index e7161cd..24b59e4 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -1829,6 +1829,8 @@ class PHINode : public Instruction {
protected:
virtual PHINode *clone_impl() const;
public:
+ /// Constructors - NumReservedValues is a hint for the number of incoming
+ /// edges that this phi node will have (use 0 if you really have no idea).
static PHINode *Create(const Type *Ty, unsigned NumReservedValues,
const Twine &NameStr = "",
Instruction *InsertBefore = 0) {