[LLVMdev] Fix for non-standard variable length array

Chris Lattner sabre at nondot.org
Mon Oct 18 09:04:54 PDT 2004


On Mon, 18 Oct 2004, Morten Ofstad wrote:

> Paolo Invernizzi wrote:
>
> > I submitted a patch with a std::vector, but was commited as alloca ;-P
>
> for the other problem?
>
> I made a nice clean patch using std::vector in LiveVariables.cpp now,
> which I include with this message... By the way, where do you submit the
> patches if not to the mailing list? I thought I should post here so
> Paolo and others interested in the porting effort can apply them locally
> without waiting for them to be accepted in the main tree, but maybe
> there is a better way?

In this case, as Paolo pointed out, I'd much rather use an alloca instead
of a vector.  None of the LLVM-to-LLVM transformations throw exceptions so
that's not a worry.

Thanks for all of the great patches!

-Chris

-- 
http://llvm.org/
http://nondot.org/sabre/




More information about the llvm-dev mailing list