search for: 7a3d9497

Displaying 2 results from an estimated 2 matches for "7a3d9497".

2013 Feb 11
0
[LLVMdev] metadata as function arguments
That's metadata for arguments to calling a function, you tried to attach metadata to the arguments of a declaration of a function. On 11 February 2013 22:58, Niko Zarzani <koni10 at hotmail.it> wrote: > > > I have written them by hand in the .s file in the same way of the IR > > > reference (http://llvm.org/docs/LangRef.html#named-metadata) : > > > >
2013 Feb 11
2
[LLVMdev] metadata as function arguments
> > I have written them by hand in the .s file in the same way of the IR > > reference (http://llvm.org/docs/LangRef.html#named-metadata) : > > > > define i32 @function(i32 %argInt, metadata !3) nounwind { > > This seems wrong. "metadata" is a type (like i32), and the exclamation > mark is only used to refer to metadata nodes, not to declare functions