[llvm-commits] turn on function merging

Duncan Sands baldrick at free.fr
Thu Jul 15 07:53:47 PDT 2010


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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: merge.ll
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100715/659c6862/attachment.ksh>


More information about the llvm-commits mailing list