commit | 1d8492ee7dc43304d92ffc91209f68d5b536d415 | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Sat Dec 19 22:40:28 2015 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Sat Dec 19 22:40:28 2015 +0000 |
tree | 1c4636d76a4882ba33af74b00110fc3996cd6bbf | |
parent | 269b8a6713b2bf8feac57f3b34456153b483f3c8 [diff] |
Nonnull elements in OperandBundleCallSites are not all Instructions `CloneAndPruneIntoFromInst` sometimes RAUW's dead instructions with `undef` before erasing them (to avoid deleting instructions that still have uses). This changes the `WeakVH` in `OperandBundleCallSites` to hold an `undef`, and we need to guard for this situation in eventuality in `llvm::InlineFunction`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256110 91177308-0d34-0410-b5e6-96231b3b80d8