MP1: Constructor for AllocaInst

I remember reading in a previous thread by Chris that all instructions
will have the "instruction to insert before" as an argument to their
constructors. In the code I have, this hasn't been done for the
AllocaInst. I did a recent "cvsupdate", but the code still hadn't
changed. Has this code already been updated ? If not, I request that it
be updated as soon as possible, as it simplifies our implementation of
MP1 (we need to insert the alloca's at the beginning of the function).

Thanks,

- Karthik Pattabiraman

AllocaInst. I did a recent "cvsupdate", but the code still hadn't
changed. Has this code already been updated ? If not, I request that it
be updated as soon as possible, as it simplifies our implementation of
MP1 (we need to insert the alloca's at the beginning of the function).

The plan is to update the CSIL CVS tree soon. When that happens you
should get the update. I'm sure that you'll be notified when this
happens. Until then, you can manually call the insert method to get the
job done.

-Chris

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

After I did a cvsupdate, my old code which was working fine before, now
breaks. It says "Pure virtual method" called and aborts. This happens even
for the Hello Pass example (I didn't make any modifications to this).

I remember somone in the class had the same problem and managed to fix it.
Did anyone else encounter this problem ? I'd be much obliged if somone could
tell me how to fix it.

Thanks,

- Karthik

Make sure to do a 'gmake' from the top level to rebuild _everything_,
including opt.

-Chris

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