[LLVMdev] Metadata

Dan Gohman gohman at apple.com
Thu Feb 11 12:44:23 PST 2010

On Feb 11, 2010, at 12:07 PM, David Greene wrote:

> On Thursday 11 February 2010 14:02:13 Dan Gohman wrote:
>>>> Putting a bit (or multiple bits) in MachineMemOperand for this
>>>> would also make sense.
>>> Is there any chance a MachineMemOperand will be shared by multiple
>>> instructions?
>> Yes.
> Then we can't use it to hold a non-temporal flag.  The operand might be
> non-temporal in one context but it may not be in another.

Sharing only happens when two instructions have the "same" memory
reference info. You just need to make sure that the non-temporal
flag is significant. It's not fundamentally different from the
volatile flag in this respect.


More information about the llvm-dev mailing list