[LLVMdev] Refusing to store single element

Chris Lattner sabre at nondot.org
Wed Jul 9 10:38:02 PDT 2008


On Wed, 9 Jul 2008, Nicolas Capens wrote:
> I'm hitting the following assert in PredicateSimplifier.cpp:961 :

Hi Nicolas,

The predsimplify pass is experimental at best, and should be removed at 
worst.  I don't think it is going to be futher developed, so I'd suggest 
staying away from it.

-Chris

>
>
> assert(!CR.isSingleElement() && "Refusing to store single element.");
>
>
>
> If I ignore it the generated code appears correct so I'm not sure what this
> assert is supposed to be for. Am I doing something wrong on my end or is
> this a superfluous assert or it really indicates an LLVM bug?
>
>
>
> The code I'm generating is fairly long but if necessary I could try to boil
> it down.
>
>
>
> Cheers,
>
>
>
> Nicolas
>
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list