Implement PR1143 (at -m64) by making basicaa look through extensions. We
[oota-llvm.git] / include / llvm / Analysis / ValueTracking.h
index 05968914b94d39049fe65cfc4b5bf01b626b3f3b..5f3c671d0f483543e55f011add409ac206e0d8ed 100644 (file)
@@ -82,6 +82,12 @@ namespace llvm {
   /// it into a base pointer with a constant offset and a number of scaled
   /// symbolic offsets.
   ///
+  /// The scaled symbolic offsets (represented by pairs of a Value* and a scale
+  /// in the VarIndices vector) are Value*'s that are known to be scaled by the
+  /// specified amount, but which may have other unrepresented high bits. As
+  /// such, the gep cannot necessarily be reconstructed from its decomposed
+  /// form.
+  ///
   /// When TargetData is around, this function is capable of analyzing
   /// everything that Value::getUnderlyingObject() can look through.  When not,
   /// it just looks through pointer casts.