[llvm-commits] turn on function merging

Nick Lewycky nicholas at mxc.ca
Thu Jul 15 23:35:01 PDT 2010


Thanks. That uncovered a very silly miscompile bug. Fixed in r108517.

Duncan Sands wrote:
> Hi Nick, I found the following problem by running mergefunc on the
> dragonegg testsuite:
>
> $ opt -mergefunc merge.ll -disable-output
> opt: /home/duncan/LLVM/llvm.top/llvm/lib/VMCore/Instructions.cpp:2662:
> llvm::BitCastInst::BitCastInst(llvm::Value*, const llvm::Type*, const
> llvm::Twine&, llvm::BasicBlock*): Assertion `castIsValid(getOpcode(), S,
> Ty) && "Illegal BitCast"' failed.
>
> See attached file.
>
> Ciao,
>
> Duncan.
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list