Nonnull elements in OperandBundleCallSites are not all Instructions
[oota-llvm.git] / include / llvm / Transforms / Utils / Cloning.h
index d1a5fdeaddc4bb6fe948f5192b5bad1cac9da5bc..92a1d52f1011a3c623b7d3505fedd816614385d7 100644 (file)
@@ -75,8 +75,8 @@ struct ClonedCodeInfo {
   bool ContainsDynamicAllocas;
 
   /// All cloned call sites that have operand bundles attached are appended to
-  /// this vector.  This vector may contain nulls if some of the originally
-  /// inserted callsites were DCE'ed after they were cloned.
+  /// this vector.  This vector may contain nulls or undefs if some of the
+  /// originally inserted callsites were DCE'ed after they were cloned.
   std::vector<WeakVH> OperandBundleCallSites;
 
   ClonedCodeInfo() : ContainsCalls(false), ContainsDynamicAllocas(false) {}