commit | 587b47add04b876fa0e73ef0206949b92738bb99 | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Wed Dec 09 20:33:52 2015 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Wed Dec 09 20:33:52 2015 +0000 |
tree | 04ea768c53ce327da2acd280af1c99787f06f56c | |
parent | 9b40f2a9a5d77ca38eebe97b246aa15be78fef2e [diff] |
Use WeakVH to keep track of calls with operand bundles in CloneCodeInfo `CloneAndPruneIntoFromInst` can DCE instructions after cloning them into the new function, and so an AssertingVH is too strong. This change switches CloneCodeInfo to use a std::vector<WeakVH>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255148 91177308-0d34-0410-b5e6-96231b3b80d8