[all-commits] [llvm/llvm-project] 06d674: [Flang][OpenMP][MLIR] Attach source location to ta...

Jason Van Beusekom via All-commits all-commits at lists.llvm.org
Thu Sep 24 10:47:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06d67477d57a07fdbc40742678136369b725933f
      https://github.com/llvm/llvm-project/commit/06d67477d57a07fdbc40742678136369b725933f
  Author: Jason Van Beusekom <jason.van-beusekom at hpe.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
    M mlir/test/Target/LLVMIR/omptarget-nowait.mlir
    M mlir/test/Target/LLVMIR/omptarget-region-llvm.mlir
    A mlir/test/Target/LLVMIR/omptarget-target-data-source-loc-nodebug.mlir
    A mlir/test/Target/LLVMIR/omptarget-target-region-source-loc-nodebug.mlir
    A mlir/test/Target/LLVMIR/omptarget-target-region-source-loc.mlir

  Log Message:
  -----------
  [Flang][OpenMP][MLIR] Attach source location to target/target-data runtime c… (#222389)

…alls

This commit adds ident info to the OpenMP target call so the runtime now
reports the kernels source location in -g and non -g builds

Of note this does diverge from clang where the file info is only
provided with `-g` builds, however similar work is done in
`createMappingInformation` in
`mlir/lib/Target/LLVMIR/Dialect/OpenMPCommon.cpp`.



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