[all-commits] [llvm/llvm-project] ffd337: [coro][pgo] Do not insert counters in the `suspend...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Nov 15 11:13:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffd337b995658266d83e15630d656e57882bcf0d
      https://github.com/llvm/llvm-project/commit/ffd337b995658266d83e15630d656e57882bcf0d
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Instrumentation/CFGMST.h
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail1.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail10.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail11.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail12.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail13.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail2.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail3.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail4.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail5.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail6.ll
    A llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail7.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail1.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail10.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail11.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail12.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail13.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail2.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail3.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail4.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail5.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail6.ll
    M llvm/test/Transforms/Coroutines/coro-split-musttail7.ll

  Log Message:
  -----------
  [coro][pgo] Do not insert counters in the `suspend` block (#71262)

If we did, we couldn't lower symmetric transfer resumes to tail calls.

We can instrument the other 2 edges instead, as long as they also don't
point to the same basic block.




More information about the All-commits mailing list