[LLVMdev] Metadata
David Greene
dag at cray.com
Thu Feb 11 12:50:00 PST 2010
On Thursday 11 February 2010 14:05:21 David Greene wrote:
> Either ParseLoad and probably other instructions need to look for metadata
> explicitly or ParseOptionalCommaAlign needs to know about general metadata.
>
> My inkling is to fix ParseOptionalCommaAlign. Sound reasonable?
Well, that's a rat's nest. I backed up and thought maybe I have the metadata
syntax wrong.
So I tried a bunch of things:
%r8 = load <2 x double>* %r6, align 16, metadata !"nontemporal"
%r8 = load <2 x double>* %r6, align 16, metadata !nontemporal
%r8 = load <2 x double>* %r6, align 16, !{ metadata !"nontemporal" }
%r8 = load <2 x double>* %r6, align 16, !{ metadata !nontemporal }
%r8 = load <2 x double>* %r6, align 16, !{ !"nontemporal" }
%r8 = load <2 x double>* %r6, align 16, !{ !nontemporal }
I give up! What is the syntax for attaching metadata to instructions? The
documentation is very unclear.
-Dave
More information about the llvm-dev
mailing list