comment update
authorChris Lattner <sabre@nondot.org>
Sat, 9 Aug 2008 06:25:46 +0000 (06:25 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 9 Aug 2008 06:25:46 +0000 (06:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54576 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Constant.h

index 2679c107897395c2d0c1b8d34168a1260358adb6..faaced8041087703944d5d52eea5384448afd828 100644 (file)
@@ -83,7 +83,8 @@ public:
   
   /// 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