Update a comment to match the source. PseudoSourceValues are now
authorDan Gohman <gohman@apple.com>
Mon, 14 Sep 2009 20:40:10 +0000 (20:40 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 14 Sep 2009 20:40:10 +0000 (20:40 +0000)
obtained via accessor functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81782 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineMemOperand.h

index 4388c0aab2243aad6c028dcffd3ecf4b34605a3b..de238e48d10a84000e6917ce18f625f21c7e473b 100644 (file)
@@ -51,10 +51,13 @@ public:
   MachineMemOperand(const Value *v, unsigned int f, int64_t o, uint64_t s,
                     unsigned int a);
 
-  /// getValue - Return the base address of the memory access.
-  /// Special values are PseudoSourceValue::FPRel, PseudoSourceValue::SPRel,
-  /// and the other PseudoSourceValue members which indicate references to
-  /// frame/stack pointer relative references and other special references.
+  /// getValue - Return the base address of the memory access. This may either
+  /// be a normal LLVM IR Value, or one of the special values used in CodeGen.
+  /// Special values are those obtained via
+  /// PseudoSourceValue::getFixedStack(int), PseudoSourceValue::getStack, and
+  /// other PseudoSourceValue member functions which return objects which stand
+  /// for frame/stack pointer relative references and other special references
+  /// which are not representable in the high-level IR.
   const Value *getValue() const { return V; }
 
   /// getFlags - Return the raw flags of the source value, \see MemOperandFlags.