[all-commits] [llvm/llvm-project] 149521: [OpenCL] Always add nounwind attribute for OpenCL

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Fri Jan 20 04:06:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1495210914997bcd0ca6937be0ae3cd6809b5ef5
      https://github.com/llvm/llvm-project/commit/1495210914997bcd0ca6937be0ae3cd6809b5ef5
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
    M clang/test/CodeGenOpenCL/convergent.cl

  Log Message:
  -----------
  [OpenCL] Always add nounwind attribute for OpenCL

Neither OpenCL nor C++ for OpenCL support exceptions, so add the
`nounwind` attribute unconditionally for those languages.

Differential Revision: https://reviews.llvm.org/D142033




More information about the All-commits mailing list