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

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 2 09:51:06 PDT 2021


fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.

LGTM, thanks!



================
Comment at: llvm/test/Transforms/SCCP/pr49582-iterator-invalidation.ll:853
+; Function Attrs: nofree nosync nounwind willreturn
+declare void @llvm.assume(i1 noundef) #1
+
----------------
tiniest nit: drop `#1`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98602



More information about the llvm-commits mailing list