[PATCH] D96928: [LICM][Coroutine] Don't sink stores from loops with coro.suspend instructions

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 22:16:37 PST 2021


ChuanqiXu added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LICM.cpp:370
+  // sinking memory operation out of the loop does not improve performance
+  // since coroutien needs to get data from the frame anyway. In fact LICM
+  // would hurt coroutine performance since it adds more entries to the frame.
----------------
coroutine


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96928



More information about the llvm-commits mailing list