[all-commits] [llvm/llvm-project] b987c2: [coro] Correct CurrentBlock tracking bug recently ...

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Mon Aug 9 10:42:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b987c283ae03329a868c9b75f2a18ea765939254
      https://github.com/llvm/llvm-project/commit/b987c283ae03329a868c9b75f2a18ea765939254
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-08-09 (Mon, 09 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    A llvm/test/Transforms/Coroutines/coro-async-remat.ll

  Log Message:
  -----------
  [coro] Correct CurrentBlock tracking bug recently introduced

We use the CurrentBlock to determine whether we have already processed a
block. Don't reuse this variable for setting where we should insert the
rematerialization. The rematerialization block is different to the
current block when we rematerialize for coro suspend block users.

Differential Revision: https://reviews.llvm.org/D107573




More information about the All-commits mailing list