[LLVMdev] [PATCH] Spill Comments
gohman at apple.com
Mon Sep 14 13:42:43 PDT 2009
On Sep 14, 2009, at 1:39 PM, David Greene wrote:
> On Monday 14 September 2009 15:28, David Greene wrote:
>> I don't see PseudoSourceValue::FPRel, etc. defined anywhere. How
>> do I know
>> if a PseudoSourceValue is from the stack?
> Ok, the comment is misleading. I see the class defined in
> PseudoSourceValue.cpp now. I'll move it to the header.
Yes; the comment was out of date. I just updated it.
> I have another question. Looking at the list of MachineMemOperands
> for an
> instruction, is ther eany way to easily know whether the operand is
> from or stored to?
Yes. MachineMemOperand has isLoad and isStore flags.
More information about the llvm-dev