[all-commits] [llvm/llvm-project] 9b52d9: [MLIR][OpenMP] Prevent loop wrapper translation cr...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Mon Feb 24 03:32:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b52d9e18662160d14b882371a9c749770fd99bf
      https://github.com/llvm/llvm-project/commit/9b52d9e18662160d14b882371a9c749770fd99bf
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [MLIR][OpenMP] Prevent loop wrapper translation crashes (#115475)

This patch updates the `convertOmpOpRegions` translation function to
prevent calling it for a loop wrapper region from causing a compiler
crash due to a lack of terminator operations.

This problem is currently not triggered because there are no cases for
which the region of a loop wrapper is passed to that function. This
will have to change in order to support composite construct translation
to LLVM 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