[PATCH] Fix a mergefunc crash caused by bitcasting intrinsics

Björn Steinbrink bsteinbr at gmail.com
Tue Apr 22 23:42:33 PDT 2014

I probably shouldn't have said crash. The mergefunc pass completes. Without merging the functions. But in enumerate, it created that bitcast of the intrinsic, which is added to the list of users of that intrinsic. What happens then is that the verify pass checks all users of all intrinsics, sees the bitcast, complains about it and aborts.


  Reply to comment, or !reject, !abandon, !reclaim, !resign, !rethink, !unsubscribe.

More information about the llvm-commits mailing list