diff options
author | Joseph Tremoulet <jotrem@microsoft.com> | 2018-06-15 16:52:40 +0000 |
---|---|---|
committer | Joseph Tremoulet <jotrem@microsoft.com> | 2018-06-15 16:52:40 +0000 |
commit | 6f406d4f022e059033b335bc024d0c652d6d8c52 (patch) | |
tree | 0d7be596ce250ed81d9b04ccd6ed9ec615f7eaed /clang/lib/CodeGen | |
parent | 4adf24502ec8c993e3da2fe0ad2f4921e5a76bb9 (diff) | |
download | bcm5719-llvm-6f406d4f022e059033b335bc024d0c652d6d8c52.tar.gz bcm5719-llvm-6f406d4f022e059033b335bc024d0c652d6d8c52.zip |
[InstCombine] Avoid iteration/mutation conflict
Summary:
When iterating users of a multiply in processUMulZExtIdiom, the
call to setOperand in the truncation case may replace the use
being visited; make sure the iterator has been advanced before
doing that replacement.
Reviewers: majnemer, davide
Reviewed By: davide
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D48192
llvm-svn: 334844
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions