[LLVMdev] BranchInst problem

Chris Lattner sabre at nondot.org
Wed Jun 9 02:19:02 PDT 2004


On Wed, 9 Jun 2004, Vladimir Prus wrote:

> > Hrm, that's obviously really bad. Can you send me (offline) the output of
> > llc with the -debug option set and with this code before the assert:
> >
> >   std::cerr << "MI: " << i << " " << reg << "  "; mii->dump();
> >
> > Also note that it looks like your tree is a bit out of date.  You might
> > try updating and see if it helps the problem.
>
> I've updated and rebuild. The bug is still there and the output you've asked
> for is attached.

Okay, it looks like a bug in your code generator (though the linscan
allocator should give a better assertion).  Specifically, you never define
the %reg1028 register.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list