[RewriteStatepointsForGC] Fix debug assertion during derivable pointer rematerialization
authorIgor Laevsky <igmyrj@gmail.com>
Thu, 21 May 2015 13:02:14 +0000 (13:02 +0000)
committerIgor Laevsky <igmyrj@gmail.com>
Thu, 21 May 2015 13:02:14 +0000 (13:02 +0000)
commitd83f6976ba7ab752a8076fe8044aff42327b8ec5
tree2dad34d49850394eaebe72e39dca1a12a96c3be3
parentaf1c9dd5135ff2aba6f0334b9155c01be7403ced
[RewriteStatepointsForGC] Fix debug assertion during derivable pointer rematerialization

Correct assertion would be that there is no other uses from chain we are currently cloning. It is ok to have other uses of values not from this chain.

Differential Revision: http://reviews.llvm.org/D9882

llvm-svn: 237899
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp