[PATCH] D99118: [SROA] Speculate around PHIs: allow load to be in a unique-successor unique-predecessor block

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 23 10:05:06 PDT 2021


rampitec added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/SROA.cpp:1209
+    // For now we only allow loads either in the same block, or (recursively) a
+    // single successor of the block (that has a single predecessor blocl), as
+    // the PHI. This is a common case that happens when instcombine merges two
----------------
Typo: blocl.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99118



More information about the llvm-commits mailing list