[LLVMdev] Metadata

David Greene dag at cray.com
Thu Feb 11 13:40:06 PST 2010


On Thursday 11 February 2010 15:03:39 Devang Patel wrote:

> > I give up!  What is the syntax for attaching metadata to instructions?
>
> Try
>
>
> %r8 = load <2 x double>* %r6, align 16, !nontemporal !1
> !1 = metadata !{ i32 1, metadata !0, null, metadata !"foobar" }

What does that mean?  "foobar?"  Seems awfully wordy to convey a single
bit of information.

                                         -Dave





More information about the llvm-dev mailing list