[all-commits] [llvm/llvm-project] dd499f: [Flang][Driver]Add support for option '-fpseudo-pr...

Kaviya Rajendiran via All-commits all-commits at lists.llvm.org
Wed Jun 24 23:05:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd499f88bf4d304baf0db1d6d4d84ad5bea8d7ad
      https://github.com/llvm/llvm-project/commit/dd499f88bf4d304baf0db1d6d4d84ad5bea8d7ad
  Author: Kaviya Rajendiran <67495422+kaviya2510 at users.noreply.github.com>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M clang/include/clang/Options/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/CodeGenOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    A flang/test/Driver/fpseudo-probe-for-profiling.f90
    A flang/test/Integration/pseudo-probe-for-profiling.f90

  Log Message:
  -----------
  [Flang][Driver]Add support for option '-fpseudo-probe-for-profiling' in flang (#205046)

Added support for option `-fpseudo-probe-for-profiling` in flang.

- When the option `-fpseudo-probe-for-profiling` is passed, the compiler
sets the` PseudoProbeForProfiling` flag and triggers the
`SampleProfileProbePass`. This pass inserts `llvm.pseudoprobe(..)`
intrinsic calls and `!llvm.pseudo_probe_desc` metadata into the IR.



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