[llvm-commits] [llvm] r128540 - /llvm/trunk/include/llvm/Instructions.h
Jay Foad
jay.foad at gmail.com
Wed Mar 30 06:29:06 PDT 2011
Author: foad
Date: Wed Mar 30 08:29:06 2011
New Revision: 128540
URL: http://llvm.org/viewvc/llvm-project?rev=128540&view=rev
Log:
Add a comment on PHINode::Create().
Modified:
llvm/trunk/include/llvm/Instructions.h
Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=128540&r1=128539&r2=128540&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Wed Mar 30 08:29:06 2011
@@ -1829,6 +1829,8 @@
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) {
More information about the llvm-commits
mailing list