diff options
author | Sean Silva <silvasean@google.com> | 2020-02-13 16:29:10 -0800 |
---|---|---|
committer | Sean Silva <silvasean@google.com> | 2020-02-19 09:25:06 -0800 |
commit | e84aa5922b1cc8e40f60a560c3803122d820c53d (patch) | |
tree | 3658b0c2957f9e9541ad935fc4ab2f95cc7fba32 /llvm/lib/Analysis/ValueTracking.cpp | |
parent | f14f9bd22ea024049ce4be65f4132306bfd5c12b (diff) | |
download | llvm-e84aa5922b1cc8e40f60a560c3803122d820c53d.zip llvm-e84aa5922b1cc8e40f60a560c3803122d820c53d.tar.gz llvm-e84aa5922b1cc8e40f60a560c3803122d820c53d.tar.bz2 |
Fix Block::eraseArgument when block arg is also a successor operand.
Summary:
This could trigger an assertion due to the block argument being used by
this block's own successor operands.
Reviewers: rriddle!
Subscribers: mehdi_amini, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74583
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions