[LLVMdev] TableGen && OpenBSD

Chris Lattner sabre at nondot.org
Sun Jun 29 20:03:05 PDT 2008


On Jun 29, 2008, at 1:48 PM, Anton Korobeynikov wrote:

> Hello, Everyone
>
>> Thanks for your help, and good luck debugging!
> Ok, looks like I've nailed down the tablegen bug and even reproduced  
> the
> assertion on linux.
>
> Steps to reproduce: just apply the attached patch. This makes  
> iteration
> over PatterFragments map little bit slower, but stable. This explains,
> why assertions is seen on OpenBSD only half times.
>
> I don't have idea, what's happening there, but I guess, that some
> pattern inlining changes behaviour of InferAllTypes().

That's great Anton!

Laurence, please try a build with this patch in it, hopefully you will  
have more luck:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080623/064290.html

-Chris





More information about the llvm-dev mailing list