Displaying 4 results from an estimated 4 matches for "main__i__v".
Did you mean:
_main__i__v
2012 Feb 15
2
[LLVMdev] ASM appears to be incorrect from llc
Hi,
I'm trying to compile an intermediate representation file to ASM (intel
style), and I believe that the resultant ASM is invalid. The IR is:
; ModuleID = 'test.u'
%vec2 = type { float, float }
@t = global %vec2 zeroinitializer
@x = global i32 0
define i32 @main__i__v() nounwind {
locals:
%0 = load float* getelementptr inbounds (%vec2* @t, i32 0, i32 0)
%1 = fptosi float %0 to i64
%2 = trunc i64 %1 to i32
store i32 %2, i32* @x
ret i32 0
}
Now, I know no memory is allocated for t (ignore that), we'll just expect
the final program to crash
Runnin...
2012 Feb 16
0
[LLVMdev] ASM appears to be incorrect from llc
...g to compile an intermediate representation file to ASM (intel
> style), and I believe that the resultant ASM is invalid. The IR is:
>
> ; ModuleID = 'test.u'
>
> %vec2 = type { float, float }
> @t = global %vec2 zeroinitializer
> @x = global i32 0
>
> define i32 @main__i__v() nounwind {
> locals:
> %0 = load float* getelementptr inbounds (%vec2* @t, i32 0, i32 0)
> %1 = fptosi float %0 to i64
> %2 = trunc i64 %1 to i32
> store i32 %2, i32* @x
> ret i32 0
> }
>
>
>
> Now, I know no memory is allocated for t (ignore that), we...
2012 Feb 16
3
[LLVMdev] ASM appears to be incorrect from llc
...ile to ASM (intel
> > style), and I believe that the resultant ASM is invalid. The IR is:
> >
> > ; ModuleID = 'test.u'
> >
> > %vec2 = type { float, float }
> > @t = global %vec2 zeroinitializer
> > @x = global i32 0
> >
> > define i32 @main__i__v() nounwind {
> > locals:
> > %0 = load float* getelementptr inbounds (%vec2* @t, i32 0, i32 0)
> > %1 = fptosi float %0 to i64
> > %2 = trunc i64 %1 to i32
> > store i32 %2, i32* @x
> > ret i32 0
> > }
> >
> >
> >
> > Now,...
2012 Apr 05
0
[LLVMdev] Difference between 2.9 and 3.0 in intel ASM printer
...oid @AddPointer__v__iPKci(i32, i8*, i32) nounwind
declare void @dL__v__PZ6string(%string*) nounwind
declare zeroext i1 @ne__b__PZ6stringPZ6string(%string*, %string*) nounwind
declare void @aS__v__PZ6stringPKc(%string*, i8*) nounwind
declare void @C1__v__PZ6string(%string*) nounwind
define i32 @main__i__v() nounwind {
locals:
store i8* getelementptr inbounds ([7 x i8]* @"data.u\00", i32 0, i32 0),
i8** getelementptr inbounds (%program* @G__program__PZ7program, i32 0, i32
4)
%0 = load float* getelementptr inbounds (%window* @G__window__PZ6window,
i32 0, i32 1, i32 1)
%1 = fptosi float...