SuccessChanges

Summary

  1. [gn build] Port 2f0d755d815 (details)
  2. [safe-stack] Fix typo in test command line (details)
  3. Improve error message when constructing a Tensor with an invalid element type (NFC) (details)
  4. libclc: Fix FP_ILOGBNAN definition (details)
  5. libclc: Make all built-ins overloadable (details)
  6. Fix Wsign-compare warnings in test. (details)
  7. libclc: Add Mesa/SPIR-V target (details)
  8. [libunwind] Remove compatibility support for macOS 10.6 (details)
Commit cb00609de91fa146e07532260ff673b1b8d65690 by llvmgnsyncbot
[gn build] Port 2f0d755d815
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Object/BUILD.gn (diff)
Commit 516328860c4c1cacd3d0d4f77ab59ba59cbd77d5 by Vitaly Buka
[safe-stack] Fix typo in test command line
The file was modifiedllvm/test/Transforms/SafeStack/X86/no-crash-on-lifetime.ll (diff)
Commit 45cc86b09bcd499c9d26b83e70114f0be8ecfa85 by joker.eph
Improve error message when constructing a Tensor with an invalid element type (NFC)

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D86040
The file was modifiedmlir/lib/IR/StandardTypes.cpp (diff)
Commit 3a7051d9c28e3dd6da5048d91b74fad830728e93 by tstellar
libclc: Fix FP_ILOGBNAN definition

Fix FP_ILOGBNAN definition to match the opencl-c-base.h one and
guarantee that FP_ILOGBNAN and FP_ILOGB0 are different. Doing that
implies fixing ilogb() implementation to return the right value.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>

Reviewed By: jvesely

Differential Revision: https://reviews.llvm.org/D83473
The file was modifiedlibclc/generic/lib/math/ilogb.cl (diff)
The file was modifiedlibclc/generic/include/clc/float/definitions.h (diff)
Commit 3d21fa56f5f5afbbf16b35b199480af71e1189a3 by tstellar
libclc: Make all built-ins overloadable

The SPIR spec states that all OpenCL built-in functions should be
overloadable and mangled, to ensure consistency.

Add the overload attribute to functions which were missing them:
work dimensions, memory barriers and fences, and events.

Reviewed By: tstellar, jenatali

Differential Revision: https://reviews.llvm.org/D82078
The file was modifiedlibclc/generic/include/clc/workitem/get_num_groups.h (diff)
The file was modifiedlibclc/generic/include/clc/workitem/get_global_offset.h (diff)
The file was modifiedlibclc/generic/include/clc/workitem/get_global_id.h (diff)
The file was modifiedlibclc/generic/lib/workitem/get_global_size.cl (diff)
The file was modifiedlibclc/ptx-nvidiacl/lib/mem_fence/fence.cl (diff)
The file was modifiedlibclc/ptx-nvidiacl/lib/workitem/get_global_id.cl (diff)
The file was modifiedlibclc/generic/include/clc/workitem/get_group_id.h (diff)
The file was modifiedlibclc/r600/lib/workitem/get_work_dim.cl (diff)
The file was modifiedlibclc/ptx-nvidiacl/lib/synchronization/barrier.cl (diff)
The file was modifiedlibclc/r600/lib/workitem/get_local_id.cl (diff)
The file was modifiedlibclc/r600/lib/synchronization/barrier.cl (diff)
The file was modifiedlibclc/ptx-nvidiacl/lib/workitem/get_local_id.cl (diff)
The file was modifiedlibclc/amdgcn/lib/workitem/get_group_id.cl (diff)
The file was modifiedlibclc/amdgcn/lib/workitem/get_num_groups.cl (diff)
The file was modifiedlibclc/ptx-nvidiacl/lib/workitem/get_local_size.cl (diff)
The file was modifiedlibclc/amdgcn/lib/workitem/get_work_dim.cl (diff)
The file was modifiedlibclc/r600/lib/workitem/get_num_groups.cl (diff)
The file was modifiedlibclc/generic/include/clc/workitem/get_local_size.h (diff)
The file was modifiedlibclc/amdgcn/lib/mem_fence/fence.cl (diff)
The file was modifiedlibclc/amdgcn/lib/workitem/get_global_offset.cl (diff)
The file was modifiedlibclc/generic/include/clc/workitem/get_local_id.h (diff)
The file was modifiedlibclc/generic/include/clc/async/wait_group_events.h (diff)
The file was modifiedlibclc/ptx-nvidiacl/lib/workitem/get_num_groups.cl (diff)
The file was modifiedlibclc/amdgcn/lib/workitem/get_local_size.cl (diff)
The file was modifiedlibclc/ptx-nvidiacl/lib/workitem/get_group_id.cl (diff)
The file was modifiedlibclc/generic/include/clc/synchronization/barrier.h (diff)
The file was modifiedlibclc/r600/lib/workitem/get_group_id.cl (diff)
The file was modifiedlibclc/generic/lib/workitem/get_global_id.cl (diff)
The file was modifiedlibclc/amdgcn-amdhsa/lib/workitem/get_local_size.cl (diff)
The file was modifiedlibclc/amdgcn/lib/workitem/get_global_size.cl (diff)
The file was modifiedlibclc/r600/lib/workitem/get_local_size.cl (diff)
The file was modifiedlibclc/amdgcn-amdhsa/lib/workitem/get_num_groups.cl (diff)
The file was modifiedlibclc/amdgcn-amdhsa/lib/workitem/get_global_size.cl (diff)
The file was modifiedlibclc/r600/lib/workitem/get_global_size.cl (diff)
The file was modifiedlibclc/generic/lib/async/wait_group_events.cl (diff)
The file was modifiedlibclc/r600/lib/workitem/get_global_offset.cl (diff)
The file was modifiedlibclc/generic/include/clc/workitem/get_work_dim.h (diff)
The file was modifiedlibclc/amdgcn/lib/synchronization/barrier.cl (diff)
The file was modifiedlibclc/amdgcn/lib/workitem/get_local_id.cl (diff)
The file was modifiedlibclc/generic/include/clc/explicit_fence/explicit_memory_fence.h (diff)
The file was modifiedlibclc/generic/include/clc/workitem/get_global_size.h (diff)
Commit 1bf0732443ee464d40ff534a94bb42fed92c6efc by echristo
Fix Wsign-compare warnings in test.
The file was modifiedllvm/unittests/Object/XCOFFObjectFileTest.cpp (diff)
Commit c37145cab12168798a603e22af6b6bf6f606b705 by tstellar
libclc: Add Mesa/SPIR-V target

Add targets to emit SPIR-V targeted to Mesa's OpenCL support, using
SPIR-V 1.1.

Substantially based on Dave Airlie's earlier work.

libclc: spirv: remove step/smoothstep apis not defined for SPIR-V

libclc: disable inlines for SPIR-V builds

Reviewed By: jvesely, tstellar, jenatali

Differential Revision: https://reviews.llvm.org/D77589
The file was addedlibclc/spirv64/lib/subnormal_config.cl
The file was addedlibclc/spirv/lib/SOURCES
The file was modifiedlibclc/generic/include/clc/clcfunc.h (diff)
The file was modifiedlibclc/generic/lib/common/smoothstep.cl (diff)
The file was addedlibclc/spirv/lib/subnormal_config.cl
The file was addedlibclc/spirv64/lib/SOURCES
The file was modifiedlibclc/CMakeLists.txt (diff)
The file was modifiedlibclc/generic/lib/common/step.cl (diff)
Commit 4cd09374cdb163573007ccb402f5ba8970eb6134 by Steven Wu
[libunwind] Remove compatibility support for macOS 10.6

Remove `_dyld_find_unwind_sections` implementation for macOS that is
10.6 or previous. 10.6 is no longer supported for TOT libunwind after
removing its libkeymgr dependency.

Reviewed By: mstorsjo, pete, #libunwind

Differential Revision: https://reviews.llvm.org/D86104
The file was modifiedlibunwind/src/AddressSpace.hpp (diff)