[all-commits] [llvm/llvm-project] 32e064: [CUDA] Remove `noreturn` attribute from __assertfa...

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon Mar 1 14:00:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32e0645276230bb5b736e378860df3b92b1f4ba8
      https://github.com/llvm/llvm-project/commit/32e0645276230bb5b736e378860df3b92b1f4ba8
  Author: Artem Belevich <tra at google.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M clang/lib/Headers/__clang_cuda_runtime_wrapper.h

  Log Message:
  -----------
  [CUDA] Remove `noreturn` attribute from __assertfail().

`noreturn` complicates control flow and tends to trigger a known bug in ptxas if
the assert is used within loops in sufficiently complicated code.
https://bugs.llvm.org/show_bug.cgi?id=27738

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




More information about the All-commits mailing list