[all-commits] [llvm/llvm-project] 26a0d5: [CHR] Skip region containing llvm.coro.id

Wei Wang via All-commits all-commits at lists.llvm.org
Wed Apr 27 10:27:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26a0d53b15447e011dc1a8de1f035e4aecd1083c
      https://github.com/llvm/llvm-project/commit/26a0d53b15447e011dc1a8de1f035e4aecd1083c
  Author: Wei Wang <apollo.mobility at gmail.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    A llvm/test/Transforms/PGOProfile/chr_coro.ll

  Log Message:
  -----------
  [CHR] Skip region containing llvm.coro.id

When a block containing llvm.coro.id is cloned during CHR, it inserts an invalid
PHI node with token type to the beginning of the block containing llvm.coro.begin.
To avoid such case, we exclude regions with llvm.coro.id.

Reviewed By: ChuanqiXu

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




More information about the All-commits mailing list