[llvm-commits] [llvm] r54576 - /llvm/trunk/include/llvm/Constant.h
Chris Lattner
sabre at nondot.org
Fri Aug 8 23:25:47 PDT 2008
Author: lattner
Date: Sat Aug 9 01:25:46 2008
New Revision: 54576
URL: http://llvm.org/viewvc/llvm-project?rev=54576&view=rev
Log:
comment update
Modified:
llvm/trunk/include/llvm/Constant.h
Modified: llvm/trunk/include/llvm/Constant.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constant.h?rev=54576&r1=54575&r2=54576&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Constant.h (original)
+++ llvm/trunk/include/llvm/Constant.h Sat Aug 9 01:25:46 2008
@@ -83,7 +83,8 @@
/// getVectorElements - This method, which is only valid on constant of vector
/// type, returns the elements of the vector in the specified smallvector.
- /// This handles breaking down a vector undef into undef elements, etc.
+ /// This handles breaking down a vector undef into undef elements, etc. For
+ /// constant exprs and other cases we can't handle, we return an empty vector.
void getVectorElements(SmallVectorImpl<Constant*> &Elts) const;
/// destroyConstant - Called if some element of this constant is no longer
More information about the llvm-commits
mailing list