diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-12-19 22:40:28 +0000 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-12-19 22:40:28 +0000 |
| commit | ab0626e35f2bf7cde2d51ffd9bf20810404d7f0f (patch) | |
| tree | 7471c21925b545cd136f0fd1344e552f77103afb /llvm/unittests/Support/ThreadPool.cpp | |
| parent | b496834f8e4349bce6cbff390b0f72ac9b41164c (diff) | |
| download | llvm-ab0626e35f2bf7cde2d51ffd9bf20810404d7f0f.zip llvm-ab0626e35f2bf7cde2d51ffd9bf20810404d7f0f.tar.gz llvm-ab0626e35f2bf7cde2d51ffd9bf20810404d7f0f.tar.bz2 | |
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`.
llvm-svn: 256110
Diffstat (limited to 'llvm/unittests/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions
