[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)
commit897d9bccdcde5348ffea6353370c93a64a8ad5b6
treecca014128811b069e873e63d56ecf7d23f8b785e
parent5ac9604df784f0e549757db33ccc62d68050d2ca
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237899 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp