[all-commits] [llvm/llvm-project] f675b3: [libomptarget] Drop assert.h, use freestanding for...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Mon Mar 15 11:50:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f675b3df4848bae5a8203c2508b721b41086471f
      https://github.com/llvm/llvm-project/commit/f675b3df4848bae5a8203c2508b721b41086471f
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
    M openmp/libomptarget/deviceRTLs/common/include/target/shuffle.h

  Log Message:
  -----------
  [libomptarget] Drop assert.h, use freestanding for amdgcn devicertl

[libomptarget] Drop assert.h, use freestanding for amdgcn devicertl

Promotes the runtime assert to a link time error for the unimplemented
fallback functions. Enables amdgcn to build with only clang provided
headers, which makes it less likely to break other builds when enabled.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list