[all-commits] [llvm/llvm-project] b3e41f: [HIPStdPar] Report reachable C++ exceptions from G...

Kunal Dubey via All-commits all-commits at lists.llvm.org
Fri Oct 2 22:37:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3e41fdb7435bc2080c62b4af7362fa89891393e
      https://github.com/llvm/llvm-project/commit/b3e41fdb7435bc2080c62b4af7362fa89891393e
  Author: Kunal Dubey <xakep8 at protonmail.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M clang/docs/HIPSupport.md
    M clang/lib/CodeGen/CGException.cpp
    A clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp
    M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
    A llvm/test/Transforms/HipStdPar/unsupported-exceptions.ll

  Log Message:
  -----------
  [HIPStdPar] Report reachable C++ exceptions from GPU kernel (#228082)

HipStdPar removes all host functions which are unreachable but there can
be cases where some reachable function contains C++ exceptions it is
forced to device code and since GPU devices don't support C++ exceptions
it must be reported.

This change allows for any reachable C++ exception to be reported as
error.

Part of https://github.com/llvm/llvm-project/issues/221941



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