[PATCH] D107281: [SimpifyCFG] Speculate a store preceded by a local non-escaping load

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 07:54:49 PDT 2021


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:2195
+///
+static bool isEscaping(const AllocaInst *AI) {
+  SmallPtrSet<const PHINode *, 4> Visited;
----------------
Why does this not use PointerMayBeCaptured or similar?


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

https://reviews.llvm.org/D107281



More information about the llvm-commits mailing list