[PATCH] D103593: [Coroutine] Sink lifetime markers after switch of suspend blocks to avoid disturbing must tail calls

Xun Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 09:27:36 PDT 2021


lxfind added inline comments.


================
Comment at: llvm/test/Transforms/Coroutines/coro-debug.ll:22
   %3 = call i8 @llvm.coro.suspend(token none, i1 false), !dbg !17
-  %conv = sext i8 %3 to i32, !dbg !17
   %late_local = alloca i32, align 4
----------------
This seems very common in our test cases, are you sure this kind of conversion can never happen?


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

https://reviews.llvm.org/D103593



More information about the llvm-commits mailing list