search for: diffeomorph

Displaying 2 results from an estimated 2 matches for "diffeomorph".

2010 Jan 10
0
[LLVMdev] Variable declarations vs. definitions
On Jan 9, 2010, at 9:31 PM, Dustin Laurence wrote: > On 01/09/2010 01:12 PM, Chris Lattner wrote: > >> The equivalent of "extern int G;" is: >> >> @G = external global i32 > > Hmm. Is it really? Yes. > But this > extern int x; > > int x = 5; The equivalent of that is: @x = global i32 5 I made no claim that 'external' in
2010 Jan 10
2
[LLVMdev] Variable declarations vs. definitions
On 01/09/2010 01:12 PM, Chris Lattner wrote: > The equivalent of "extern int G;" is: > > @G = external global i32 Hmm. Is it really? This @foo = external global i32 @foo = global i32 5 define i32 @main(i32 %argc, i8 **%argv) { %fooVal = load i32* @foo ret i32 %fooVal } produces a "redefinition of global '@foo'" error. But this extern int x;