[llvm-commits] bug fix proposal

Nick Lewycky nicholas at mxc.ca
Tue Aug 24 10:04:53 PDT 2010


Hans Vandierendonck wrote:
> Hi,
>
> The attached patch fixes a bug in lib/VMCore/Instructions.cpp,
> createMalloc() routine, where a BitCastInst is not inserted in any
> BasicBlock.

Did you run 'make check' after writing this patch? I saw a lot of 
failing unit tests that weren't failing before. I suspect you need to 
audit the callers of createMalloc and make sure they aren't re-inserting 
the resulting malloc, maybe?

Nick



More information about the llvm-commits mailing list