From: Dan Gohman Date: Mon, 14 Sep 2009 20:40:10 +0000 (+0000) Subject: Update a comment to match the source. PseudoSourceValues are now X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c43fd5a68ff77c1d996b520dc494336a9d3beaa0;p=oota-llvm.git Update a comment to match the source. PseudoSourceValues are now obtained via accessor functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81782 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineMemOperand.h b/include/llvm/CodeGen/MachineMemOperand.h index 4388c0aab22..de238e48d10 100644 --- a/include/llvm/CodeGen/MachineMemOperand.h +++ b/include/llvm/CodeGen/MachineMemOperand.h @@ -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.