[all-commits] [llvm/llvm-project] 1576fa: [ctxprof] Extend the notion of "cannot return" (#1...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Apr 16 10:39:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1576fa10104b9a88bef88ae851c2df479502fea9
      https://github.com/llvm/llvm-project/commit/1576fa10104b9a88bef88ae851c2df479502fea9
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
    M llvm/test/Transforms/PGOProfile/ctx-instrumentation-invalid-roots.ll
    M llvm/test/Transforms/PGOProfile/ctx-instrumentation.ll

  Log Message:
  -----------
  [ctxprof] Extend the notion of "cannot return" (#135651)

At the time of instrumentation (and instrumentation lowering), `noreturn` is not applied uniformously. Rather than running `FunctionAttrs` pass, we just need to use `llvm::canReturn` exposed in PR #135650



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list