[LLVMdev] TableGen && OpenBSD
laurie at tratt.net
Mon Jun 30 03:32:41 PDT 2008
On Sun, Jun 29, 2008 at 08:03:05PM -0700, Chris Lattner wrote:
>>> 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:
As Anton says, this appears to fix the problem on my boxes - I've tried
compiling the same bit over and over and no problems have arisen yet. Thanks
Anton and Chris for your speedy response (I notice it's already in svn!).
http://tratt.net/laurie/ -- Personal
http://convergepl.org/ -- The Converge programming language
More information about the llvm-dev