SuccessChanges

Summary

  1. [libomptarget][amdgpu] Improve thread safety, remove dead code (details)
  2. [mlir][vector] Add vector.bitcast operation (details)
  3. [LangRef] Memset/memcpy/memmove can take undef/poison pointer if the size is 0 (details)
  4. [AArch64] Use CCAssignFnForReturn helper in more spots. NFC. (details)
  5. [IR] Remove noundef from masked store/load/gather/scatter's pointer operands (details)
Commit 5d989fb37d7cfb4f7766a45d4efc82b5add3811f by jonchesterfield
[libomptarget][amdgpu] Improve thread safety, remove dead code
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/machine.cpp (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.cpp (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.h (diff)
The file was removedopenmp/libomptarget/plugins/amdgpu/impl/atmi_kl.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/machine.h (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/rt.h (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/utils.cpp (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h (diff)
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/data.cpp (diff)
Commit 5fbfe2ec4f8baf6a4729f9dc2e4fe16f269921eb by thomasraoux
[mlir][vector] Add vector.bitcast operation

Based on the RFC discussed here:
https://llvm.discourse.group/t/rfc-vector-standard-add-bitcast-operation/1628/

Adding a vector.bitcast operation that allows casting to a vector of different
element type. The most minor dimension bitwidth must stay unchanged.

Differential Revision: https://reviews.llvm.org/D86580
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir (diff)
The file was modifiedmlir/test/Dialect/Vector/ops.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td (diff)
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp (diff)
Commit 24dd04116db34e97271a520b6ab2397c67c627cb by aqjune
[LangRef] Memset/memcpy/memmove can take undef/poison pointer if the size is 0

According to the current LangRef, Memset/memcpy/memmove can take a
null/dangling pointer if the size is zero.
(Relevant thread: http://lists.llvm.org/pipermail/llvm-dev/2017-July/115665.html )
This patch expands it and allows the functions to take undef/poison pointers
too.

This required the updates in the align attribute since it isn't specified
what is the alignment of undef/poison pointers.
This patch states that their alignment is 1.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D86643
The file was modifiedllvm/docs/LangRef.rst (diff)
Commit 383f7c88589c5cf60fc09fd7d9b30ddd65642c34 by Ahmed Bougacha
[AArch64] Use CCAssignFnForReturn helper in more spots. NFC.

It was added for GISel, but SDAG could use it too!
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
Commit 0c55889d809027136048a0d144209a2bc282e7fc by aqjune
[IR] Remove noundef from masked store/load/gather/scatter's pointer operands

As discussed in D86576, noundef attribute is removed from masked store/load/gather/scatter's
pointer operands.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D86656
The file was modifiedllvm/include/llvm/IR/Intrinsics.td (diff)
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir (diff)