[LLVMdev] Crash with llc and vector code

Stéphane Letz letz at grame.fr
Fri Oct 22 10:42:42 PDT 2010


> 
> Message: 11
> Date: Fri, 22 Oct 2010 16:23:36 +0200
> From: Duncan Sands <baldrick at free.fr>
> Subject: Re: [LLVMdev] Crash with llc and vector code
> To: llvmdev at cs.uiuc.edu
> Message-ID: <4CC19E68.3000004 at free.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
>> Compiling the simple following function with llv (LLVM 2.8) :
>> 
>> define<4 x i32>  @foo(<4 x i32>  %a,<4 x i32>  %b) {
>> 	%res = select<4 x i1>  <i1 true, i1 false, i1 true, i1 true>,<4 x i32>  %a,<4 x i32>  %b ;
>> 	ret<4 x i32>  %res
>> }
>> 
>> gives :
>> 
>> UNREACHABLE executed!
> ...
>> Is it a known problem?
> 
> Yes, vectors of boolean are not supported by the code generators.
> See http://llvm.org/bugs/show_bug.cgi?id=1784
> 
> Ciao,
> 
> Duncan.
> 
> 

An idea when it will be fixed?

Thanks

Stéphane Letz





More information about the llvm-dev mailing list