[PATCH] D98602: [SCCP] Avoid modifying AdditionalUsers while iterating over it

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 25 12:56:36 PDT 2021


dim updated this revision to Diff 333401.
dim added a comment.

My previous update accidentally dropped the changes to SCCP.cpp.
Squashed both local revisions to get both the functionality change and
the test case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98602/new/

https://reviews.llvm.org/D98602

Files:
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/test/Transforms/SCCP/pr49582-iterator-invalidation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98602.333401.patch
Type: text/x-patch
Size: 36529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210325/6dff1140/attachment.bin>


More information about the llvm-commits mailing list