[PATCH] D15789: [RS4GC] Fix rematerialization of bitcast of bitcast.

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 27 11:11:39 PST 2015


reames added a subscriber: reames.
reames added a comment.

I think you need to leave in:

if (!CI->isNoopCast(CI->getModule()->getDataLayout()))

- return false;

This is needed to catch things like addrspacecast.

Other than that, LGTM.


http://reviews.llvm.org/D15789





More information about the llvm-commits mailing list