[LLVMdev] weird issue with mem2reg

Chris Lattner sabre at nondot.org
Wed Jun 23 16:11:02 PDT 2004


On Wed, 23 Jun 2004, Patrick Meredith wrote:
> > This is a crash in your pass.  Try running:
> >
> > opt -mem2reg test3.s.bc -o tmp.bc
> > opt -load ... -metasplit tmp.bc -o out.bc
>
> I've already tried that and yes it crashes ;)

Okay, well then just use:

bugpoint -load ... -metasplit tmp.bc

It will give you a nice small testcase that illustrates a case that you
pass crashes on.  Seriously: give bugpoint a try.  It will probably give
you a 5-10 line testcase.

-Chris

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




More information about the llvm-dev mailing list