[PATCH] D99846: [GlobalOpt] Replace recursion with extended worklist
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 3 13:44:28 PDT 2021
lebedev.ri accepted this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.
LGTM, thanks!
================
Comment at: llvm/lib/Transforms/IPO/GlobalOpt.cpp:296
+
+ auto AddUsers = [&WorkList](Value *Ptr, Constant *Init) {
+ for (auto *U : Ptr->users())
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99846/new/
https://reviews.llvm.org/D99846
More information about the llvm-commits
mailing list