devang.patel at gmail.com
Thu Feb 11 15:41:28 PST 2010
> 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.
Metadata is used to monitor values from the sideline. It should not
influence optimization or code gen in general other then the intended
recipient of the metadata info. So your suggestion is not a good idea
for all kind of metadata in general. Just a note.
More information about the llvm-dev