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

JunMa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 19:16:37 PST 2021


junparser added a comment.

> Perhaps we need to introduce a new IR instruction for suspend instead of relying on intrinsics, but that's not going to be something we can redesign in a short amount of time.

How about add fence instruction between coro.suspend and ret block?


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