Displaying 5 results from an estimated 5 matches for "vaend".
Did you mean:
va_end
2011 Aug 15
2
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg()
...ate the MIPS assembly, but failed
when compile any codes
with va_start()/va_end()/va_arg().
Here is the minimal step to reproduce the failure:
llvm-gcc-4.2 -emit-llvm hello.c -c -o hello.bc
llc -march=mips hello.bc -o hello.s
llc show this erroe message:
LLVM ERROR: Cannot select: 0xa1873a0: ch = vaend 0xa187290:1,
0xa185ae0, 0xa187318 [ID=38]
0xa185ae0: i32 = FrameIndex<1> [ORD=3] [ID=10]
I try the same thing on arch x86/ARM like this, and they just work fine:
llc hello.bc -o hello.s //x86
llc -march=arm hello.bc -o hello.s //ARM
Can anyone tell me whether it's a bug so that I co...
2011 Aug 15
0
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg()
...compile any codes
> with va_start()/va_end()/va_arg().
>
> Here is the minimal step to reproduce the failure:
> llvm-gcc-4.2 -emit-llvm hello.c -c -o hello.bc
> llc -march=mips hello.bc -o hello.s
>
> llc show this erroe message:
> LLVM ERROR: Cannot select: 0xa1873a0: ch = vaend 0xa187290:1,
> 0xa185ae0, 0xa187318 [ID=38]
> 0xa185ae0: i32 = FrameIndex<1> [ORD=3] [ID=10]
>
> I try the same thing on arch x86/ARM like this, and they just work fine:
> llc hello.bc -o hello.s //x86
> llc -march=arm hello.bc -o hello.s //ARM
>
> Can anyone tell m...
2011 Aug 15
1
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg()
...a_start()/va_end()/va_arg().
>>
>> Here is the minimal step to reproduce the failure:
>> llvm-gcc-4.2 -emit-llvm hello.c -c -o hello.bc
>> llc -march=mips hello.bc -o hello.s
>>
>> llc show this erroe message:
>> LLVM ERROR: Cannot select: 0xa1873a0: ch = vaend 0xa187290:1,
>> 0xa185ae0, 0xa187318 [ID=38]
>> 0xa185ae0: i32 = FrameIndex<1> [ORD=3] [ID=10]
>>
>> I try the same thing on arch x86/ARM like this, and they just work fine:
>> llc hello.bc -o hello.s //x86
>> llc -march=arm hello.bc -o hello.s //ARM
&g...
2008 May 06
0
[LLVMdev] Problem about "llc -march=msil"
Hello
> What does these mean?
The bytecode contains call to intrinsic, which is not supported by by
MSIL backend. The only intrinsics currently supported 'natively' are
vastart, vaend, vacopy.
You might want to extend MSILWriter to use default intrinsic lowering
mechanism, however, don't expect, that you'll have something workable -
in general, you cannot just grab .c file, translate it with llvm-gcc
to .bc and use MSIL writer - you will still need implementations of
b...
2011 Aug 16
0
[LLVMdev] llc with -march=mips failed to compile va_start()/va_end()/va_arg() (RESOLVED)
...>> Here is the minimal step to reproduce the failure:
>>>> llvm-gcc-4.2 -emit-llvm hello.c -c -o hello.bc
>>>> llc -march=mips hello.bc -o hello.s
>>>>
>>>> llc show this erroe message:
>>>> LLVM ERROR: Cannot select: 0xa1873a0: ch = vaend 0xa187290:1,
>>>> 0xa185ae0, 0xa187318 [ID=38]
>>>> 0xa185ae0: i32 = FrameIndex<1> [ORD=3] [ID=10]
>>>>
>>>> I try the same thing on arch x86/ARM like this, and they just work fine:
>>>> llc hello.bc -o hello.s //x86
>>>&g...