Displaying 3 results from an estimated 3 matches for "caf1c27a".
2012 Feb 16
0
[LLVMdev] ASM appears to be incorrect from llc
On Wed, Feb 15, 2012 at 3:36 PM, Matthew Huck <matthew.huck at gmail.com> wrote:
> 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
>
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
2012 Feb 16
3
[LLVMdev] ASM appears to be incorrect from llc
...;
> > I think it should be
> > mov [_x], eax
> >
> > Thoughts?
>
> What makes you think it's wrong?
>
> -Eli
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120216/caf1c27a/attachment.html>