[all-commits] [llvm/llvm-project] cfd181: Revert "[Libomptarget] Use freestanding stdint.h h...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Mar 13 12:17:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfd18167c8b9d4922e99aed7241a86eb02bc653d
      https://github.com/llvm/llvm-project/commit/cfd18167c8b9d4922e99aed7241a86eb02bc653d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt
    M openmp/libomptarget/DeviceRTL/include/Types.h

  Log Message:
  -----------
  Revert "[Libomptarget] Use freestanding stdint.h header for DeviceRTL"

This patch breaks the handling of `printf` in the OpenMP library. Usiing
`-ffreestanding` prevents clang from emitting LLVM builtins, which we
use for OpenMP printing support. Shelve this until we have functioning
`printf` in the GPU `libc` and we can remove that code.

This reverts commit a92eaa3ebee6ff85549e8f1c50da4958dbbdcb30.




More information about the All-commits mailing list